1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/base/touch/touch_editing_controller.h"
10 TouchSelectionControllerFactory
* g_shared_instance
= NULL
;
13 TouchSelectionController
* TouchSelectionController::create(
14 TouchEditable
* client_view
) {
15 if (g_shared_instance
)
16 return g_shared_instance
->create(client_view
);
21 void TouchSelectionControllerFactory::SetInstance(
22 TouchSelectionControllerFactory
* instance
) {
23 g_shared_instance
= instance
;