This source file includes following definitions.
- create
- SetInstance
#include "ui/base/touch/touch_editing_controller.h"
namespace ui {
namespace {
TouchSelectionControllerFactory* g_shared_instance = NULL;
}
TouchSelectionController* TouchSelectionController::create(
TouchEditable* client_view) {
if (g_shared_instance)
return g_shared_instance->create(client_view);
return NULL;
}
void TouchSelectionControllerFactory::SetInstance(
TouchSelectionControllerFactory* instance) {
g_shared_instance = instance;
}
}