Add ICU message format support
[chromium-blink-merge.git] / ui / base / touch / touch_editing_controller.cc
blob79a70ec63a20b4fa499dd077ef0259010aeb84da
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"
7 namespace ui {
9 namespace {
10 TouchEditingControllerFactory* g_shared_instance = NULL;
11 } // namespace
13 TouchEditingControllerDeprecated* TouchEditingControllerDeprecated::Create(
14 TouchEditable* client_view) {
15 if (g_shared_instance)
16 return g_shared_instance->Create(client_view);
17 return NULL;
20 // static
21 void TouchEditingControllerFactory::SetInstance(
22 TouchEditingControllerFactory* instance) {
23 g_shared_instance = instance;
26 } // namespace ui