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

Side by Side Diff: ash/root_window_controller.h

Issue 2007863004: Fix the double-tap to click gesture in touch accessibility mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO for second display Created 4 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
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/root_window_controller.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 (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 #include <memory> 9 #include <memory>
10 10
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 // Activate virtual keyboard on current root window controller. 223 // Activate virtual keyboard on current root window controller.
224 void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller); 224 void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller);
225 225
226 // Deactivate virtual keyboard on current root window controller. 226 // Deactivate virtual keyboard on current root window controller.
227 void DeactivateKeyboard(keyboard::KeyboardController* keyboard_controller); 227 void DeactivateKeyboard(keyboard::KeyboardController* keyboard_controller);
228 228
229 // Tests if a window is associated with the virtual keyboard. 229 // Tests if a window is associated with the virtual keyboard.
230 bool IsVirtualKeyboardWindow(aura::Window* window); 230 bool IsVirtualKeyboardWindow(aura::Window* window);
231 231
232 // If touch exploration is enabled, update the touch exploration
233 // controller so that synthesized touch events are anchored at this point.
234 void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point);
235
232 private: 236 private:
233 explicit RootWindowController(AshWindowTreeHost* host); 237 explicit RootWindowController(AshWindowTreeHost* host);
234 enum RootWindowType { 238 enum RootWindowType {
235 PRIMARY, 239 PRIMARY,
236 SECONDARY 240 SECONDARY
237 }; 241 };
238 242
239 // Initializes the RootWindowController. |is_primary| is true if 243 // Initializes the RootWindowController. |is_primary| is true if
240 // the controller is for primary display. |first_run_after_boot| is 244 // the controller is for primary display. |first_run_after_boot| is
241 // set to true only for primary root window after boot. 245 // set to true only for primary root window after boot.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 323
320 // On classic ash, returns the RootWindowController for the given |root_window|. 324 // On classic ash, returns the RootWindowController for the given |root_window|.
321 // On mus ash, returns the RootWindowController for the primary display. 325 // On mus ash, returns the RootWindowController for the primary display.
322 // See RootWindowController class comment above. 326 // See RootWindowController class comment above.
323 ASH_EXPORT RootWindowController* GetRootWindowController( 327 ASH_EXPORT RootWindowController* GetRootWindowController(
324 const aura::Window* root_window); 328 const aura::Window* root_window);
325 329
326 } // namespace ash 330 } // namespace ash
327 331
328 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 332 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698