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

Side by Side Diff: ash/root_window_controller.h

Issue 359453003: Added accurate TouchToMouseMode testing to SplitTap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser test now checks for hidden cursor aftera long press Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/shelf/shelf_types.h" 11 #include "ash/shelf/shelf_types.h"
12 #include "ash/shell_observer.h" 12 #include "ash/shell_observer.h"
13 #include "ash/system/user/login_status.h" 13 #include "ash/system/user/login_status.h"
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "ui/aura/window.h" 16 #include "ui/aura/window.h"
17 #include "ui/aura/window_tree_host.h" 17 #include "ui/aura/window_tree_host.h"
18 #include "ui/base/ui_base_types.h" 18 #include "ui/base/ui_base_types.h"
19 #include "ui/chromeos/touch_exploration_controller.h"
19 20
20 class SkBitmap; 21 class SkBitmap;
21 22
22 namespace aura { 23 namespace aura {
23 class EventFilter; 24 class EventFilter;
24 class Window; 25 class Window;
25 } 26 }
26 27
27 namespace gfx { 28 namespace gfx {
28 class Point; 29 class Point;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 virtual ~RootWindowController(); 109 virtual ~RootWindowController();
109 110
110 AshWindowTreeHost* ash_host() { return ash_host_.get(); } 111 AshWindowTreeHost* ash_host() { return ash_host_.get(); }
111 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); } 112 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); }
112 113
113 aura::WindowTreeHost* GetHost(); 114 aura::WindowTreeHost* GetHost();
114 const aura::WindowTreeHost* GetHost() const; 115 const aura::WindowTreeHost* GetHost() const;
115 aura::Window* GetRootWindow(); 116 aura::Window* GetRootWindow();
116 const aura::Window* GetRootWindow() const; 117 const aura::Window* GetRootWindow() const;
118 ui::TouchExplorationController* GetTouchExplorationController();
mfomitchev 2014/07/02 16:46:47 Creating GetTouchExplorationController() in RWC ju
117 119
118 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } 120 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; }
119 121
120 WorkspaceController* workspace_controller() { 122 WorkspaceController* workspace_controller() {
121 return workspace_controller_.get(); 123 return workspace_controller_.get();
122 } 124 }
123 125
124 AlwaysOnTopController* always_on_top_controller() { 126 AlwaysOnTopController* always_on_top_controller() {
125 return always_on_top_controller_.get(); 127 return always_on_top_controller_.get();
126 } 128 }
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 }; 323 };
322 324
323 325
324 // Gets the RootWindowController for |root_window|. 326 // Gets the RootWindowController for |root_window|.
325 ASH_EXPORT RootWindowController* GetRootWindowController( 327 ASH_EXPORT RootWindowController* GetRootWindowController(
326 const aura::Window* root_window); 328 const aura::Window* root_window);
327 329
328 } // namespace ash 330 } // namespace ash
329 331
330 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 332 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698