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

Side by Side Diff: ash/display/display_controller.h

Issue 47873003: Add a full screen virtual keyboard to virtual keyboard root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/ash.gyp ('k') | ash/display/virtual_keyboard_window_controller.h » ('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_DISPLAY_DISPLAY_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_CONTROLLER_H_
6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 static const gfx::Display& GetPrimaryDisplay(); 77 static const gfx::Display& GetPrimaryDisplay();
78 78
79 // Returns the number of display. This is safe to use after 79 // Returns the number of display. This is safe to use after
80 // ash::Shell is deleted. 80 // ash::Shell is deleted.
81 static int GetNumDisplays(); 81 static int GetNumDisplays();
82 82
83 internal::MirrorWindowController* mirror_window_controller() { 83 internal::MirrorWindowController* mirror_window_controller() {
84 return mirror_window_controller_.get(); 84 return mirror_window_controller_.get();
85 } 85 }
86 86
87 internal::VirtualKeyboardWindowController*
88 virtual_keyboard_window_controller() {
89 return virtual_keyboard_window_controller_.get();
90 }
91
87 // Initializes primary display. 92 // Initializes primary display.
88 void InitPrimaryDisplay(); 93 void InitPrimaryDisplay();
89 94
90 // Initialize secondary displays. 95 // Initialize secondary displays.
91 void InitSecondaryDisplays(); 96 void InitSecondaryDisplays();
92 97
93 // Add/Remove observers. 98 // Add/Remove observers.
94 void AddObserver(Observer* observer); 99 void AddObserver(Observer* observer);
95 void RemoveObserver(Observer* observer); 100 void RemoveObserver(Observer* observer);
96 101
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // restore the cursor location when display configuration 224 // restore the cursor location when display configuration
220 // changed. 225 // changed.
221 gfx::Point cursor_location_in_native_coords_for_restore_; 226 gfx::Point cursor_location_in_native_coords_for_restore_;
222 227
223 DISALLOW_COPY_AND_ASSIGN(DisplayController); 228 DISALLOW_COPY_AND_ASSIGN(DisplayController);
224 }; 229 };
225 230
226 } // namespace ash 231 } // namespace ash
227 232
228 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 233 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/virtual_keyboard_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698