This source file includes following definitions.
- instance
- SetInstance
#include "ui/base/ime/linux/linux_input_method_context_factory.h"
namespace {
const ui::LinuxInputMethodContextFactory* g_linux_input_method_context_factory =
NULL;
}
namespace ui {
const LinuxInputMethodContextFactory*
LinuxInputMethodContextFactory::instance() {
return g_linux_input_method_context_factory;
}
void LinuxInputMethodContextFactory::SetInstance(
const LinuxInputMethodContextFactory* instance) {
g_linux_input_method_context_factory = instance;
}
}