Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: ui/views/views_touch_selection_controller_factory_aura.cc

Issue 798683003: Rename old Aura TouchSelectionController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fixes Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/views_touch_selection_controller_factory.h" 5 #include "ui/views/views_touch_selection_controller_factory.h"
6 6
7 #include "ui/base/ui_base_switches_util.h" 7 #include "ui/base/ui_base_switches_util.h"
8 #include "ui/views/touchui/touch_selection_controller_impl.h" 8 #include "ui/views/touchui/touch_selection_controller_impl.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 ViewsTouchSelectionControllerFactory::ViewsTouchSelectionControllerFactory() { 12 ViewsTouchEditingControllerFactory::ViewsTouchEditingControllerFactory() {
13 } 13 }
14 14
15 ui::TouchSelectionController* ViewsTouchSelectionControllerFactory::create( 15 ui::TouchEditingControllerDeprecated*
16 ViewsTouchEditingControllerFactory::Create(
16 ui::TouchEditable* client_view) { 17 ui::TouchEditable* client_view) {
17 if (switches::IsTouchEditingEnabled()) 18 if (switches::IsTouchEditingEnabled())
18 return new views::TouchSelectionControllerImpl(client_view); 19 return new views::TouchSelectionControllerImpl(client_view);
19 return NULL; 20 return NULL;
20 } 21 }
21 22
22 } // namespace views 23 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/views_touch_selection_controller_factory.h ('k') | ui/views/views_touch_selection_controller_factory_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698