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

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

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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/dip_unittest.cc ('k') | ash/display/display_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_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void InitPrimaryDisplay(); 86 void InitPrimaryDisplay();
87 87
88 // Initialize secondary displays. 88 // Initialize secondary displays.
89 void InitSecondaryDisplays(); 89 void InitSecondaryDisplays();
90 90
91 // Add/Remove observers. 91 // Add/Remove observers.
92 void AddObserver(Observer* observer); 92 void AddObserver(Observer* observer);
93 void RemoveObserver(Observer* observer); 93 void RemoveObserver(Observer* observer);
94 94
95 // Returns the root window for primary display. 95 // Returns the root window for primary display.
96 aura::RootWindow* GetPrimaryRootWindow(); 96 aura::Window* GetPrimaryRootWindow();
97 97
98 // Returns the root window for |display_id|. 98 // Returns the root window for |display_id|.
99 aura::RootWindow* GetRootWindowForDisplayId(int64 id); 99 aura::Window* GetRootWindowForDisplayId(int64 id);
100 100
101 // Toggle mirror mode. 101 // Toggle mirror mode.
102 void ToggleMirrorMode(); 102 void ToggleMirrorMode();
103 103
104 // Swap primary and secondary display. 104 // Swap primary and secondary display.
105 void SwapPrimaryDisplay(); 105 void SwapPrimaryDisplay();
106 106
107 // Sets the ID of the primary display. If the display is not connected, it 107 // Sets the ID of the primary display. If the display is not connected, it
108 // will switch the primary display when connected. 108 // will switch the primary display when connected.
109 void SetPrimaryDisplayId(int64 id); 109 void SetPrimaryDisplayId(int64 id);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // restore the cursor location when display configuration 216 // restore the cursor location when display configuration
217 // changed. 217 // changed.
218 gfx::Point cursor_location_in_native_coords_for_restore_; 218 gfx::Point cursor_location_in_native_coords_for_restore_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(DisplayController); 220 DISALLOW_COPY_AND_ASSIGN(DisplayController);
221 }; 221 };
222 222
223 } // namespace ash 223 } // namespace ash
224 224
225 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 225 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/dip_unittest.cc ('k') | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698