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

Side by Side Diff: ash/touch/touch_transformer_controller.cc

Issue 289283015: Extract touchscreen device management into a generic manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « ash/touch/touch_hud_debug.cc ('k') | ash/touch/touch_transformer_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ash/touch/touch_transformer_controller.h" 5 #include "ash/touch/touch_transformer_controller.h"
6 6
7 #include "ash/display/display_controller.h" 7 #include "ash/display/display_controller.h"
8 #include "ash/display/display_manager.h" 8 #include "ash/display/display_manager.h"
9 #include "ash/host/ash_window_tree_host.h" 9 #include "ash/host/ash_window_tree_host.h"
10 #include "ash/root_window_controller.h" 10 #include "ash/root_window_controller.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ui/aura/window_tree_host.h" 12 #include "ui/aura/window_tree_host.h"
13 #include "ui/display/chromeos/display_configurator.h" 13 #include "ui/display/chromeos/display_configurator.h"
14 #include "ui/display/types/chromeos/display_snapshot.h" 14 #include "ui/display/types/chromeos/display_snapshot.h"
15 #include "ui/events/x/device_data_manager.h" 15 #include "ui/events/device_data_manager.h"
16 16
17 namespace ash { 17 namespace ash {
18 18
19 namespace { 19 namespace {
20 20
21 DisplayManager* GetDisplayManager() { 21 DisplayManager* GetDisplayManager() {
22 return Shell::GetInstance()->display_manager(); 22 return Shell::GetInstance()->display_manager();
23 } 23 }
24 24
25 } // namespace 25 } // namespace
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 void TouchTransformerController::OnDisplaysInitialized() { 221 void TouchTransformerController::OnDisplaysInitialized() {
222 UpdateTouchTransformer(); 222 UpdateTouchTransformer();
223 } 223 }
224 224
225 void TouchTransformerController::OnDisplayConfigurationChanged() { 225 void TouchTransformerController::OnDisplayConfigurationChanged() {
226 UpdateTouchTransformer(); 226 UpdateTouchTransformer();
227 } 227 }
228 228
229 } // namespace ash 229 } // namespace ash
OLDNEW
« no previous file with comments | « ash/touch/touch_hud_debug.cc ('k') | ash/touch/touch_transformer_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698