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 TouchEditingControllerFactory
* g_shared_instance
= NULL
;
13 TouchEditingControllerDeprecated
* TouchEditingControllerDeprecated::Create(
14 TouchEditable
* client_view
) {
15 if (g_shared_instance
)
16 return g_shared_instance
->Create(client_view
);
21 void TouchEditingControllerFactory::SetInstance(
22 TouchEditingControllerFactory
* instance
) {
23 g_shared_instance
= instance
;