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

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

Issue 74693002: . (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
92 // Initializes primary display. 87 // Initializes primary display.
93 void InitPrimaryDisplay(); 88 void InitPrimaryDisplay();
94 89
95 // Initialize secondary displays. 90 // Initialize secondary displays.
96 void InitSecondaryDisplays(); 91 void InitSecondaryDisplays();
97 92
98 // Add/Remove observers. 93 // Add/Remove observers.
99 void AddObserver(Observer* observer); 94 void AddObserver(Observer* observer);
100 void RemoveObserver(Observer* observer); 95 void RemoveObserver(Observer* observer);
101 96
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // restore the cursor location when display configuration 219 // restore the cursor location when display configuration
225 // changed. 220 // changed.
226 gfx::Point cursor_location_in_native_coords_for_restore_; 221 gfx::Point cursor_location_in_native_coords_for_restore_;
227 222
228 DISALLOW_COPY_AND_ASSIGN(DisplayController); 223 DISALLOW_COPY_AND_ASSIGN(DisplayController);
229 }; 224 };
230 225
231 } // namespace ash 226 } // namespace ash
232 227
233 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 228 #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