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

Side by Side Diff: ash/common/wm_shell.h

Issue 2270553002: Move ash::DisplayInfo to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_COMMON_WM_SHELL_H_ 5 #ifndef ASH_COMMON_WM_SHELL_H_
6 #define ASH_COMMON_WM_SHELL_H_ 6 #define ASH_COMMON_WM_SHELL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 13 matching lines...) Expand all
24 24
25 namespace gfx { 25 namespace gfx {
26 class Insets; 26 class Insets;
27 class Point; 27 class Point;
28 } 28 }
29 29
30 namespace views { 30 namespace views {
31 class PointerWatcher; 31 class PointerWatcher;
32 } 32 }
33 33
34 namespace ui {
35 class DisplayInfo;
36 }
hshi 2016/08/25 00:43:42 nit: alphabetically "namespace ui" should appear a
rjkroege 2016/08/25 21:42:15 Done.
37
34 namespace ash { 38 namespace ash {
35 39
36 class AcceleratorController; 40 class AcceleratorController;
37 class AccessibilityDelegate; 41 class AccessibilityDelegate;
38 class BrightnessControlDelegate; 42 class BrightnessControlDelegate;
39 class DisplayInfo;
40 class FocusCycler; 43 class FocusCycler;
41 class ImmersiveContextAsh; 44 class ImmersiveContextAsh;
42 class ImmersiveFullscreenController; 45 class ImmersiveFullscreenController;
43 class KeyboardBrightnessControlDelegate; 46 class KeyboardBrightnessControlDelegate;
44 class KeyboardUI; 47 class KeyboardUI;
45 class MaximizeModeController; 48 class MaximizeModeController;
46 class MruWindowTracker; 49 class MruWindowTracker;
47 class NewWindowDelegate; 50 class NewWindowDelegate;
48 class PaletteDelegate; 51 class PaletteDelegate;
49 class ScopedDisableInternalMouseAndKeyboard; 52 class ScopedDisableInternalMouseAndKeyboard;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0; 168 virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0;
166 169
167 // Returns the root window that newly created windows should be added to. 170 // Returns the root window that newly created windows should be added to.
168 // Value can be temporarily overridden using ScopedRootWindowForNewWindows. 171 // Value can be temporarily overridden using ScopedRootWindowForNewWindows.
169 // NOTE: this returns the root, newly created window should be added to the 172 // NOTE: this returns the root, newly created window should be added to the
170 // appropriate container in the returned window. 173 // appropriate container in the returned window.
171 WmWindow* GetRootWindowForNewWindows(); 174 WmWindow* GetRootWindowForNewWindows();
172 175
173 // Retuns the display info associated with |display_id|. 176 // Retuns the display info associated with |display_id|.
174 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 177 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
175 virtual const DisplayInfo& GetDisplayInfo(int64_t display_id) const = 0; 178 virtual const ui::DisplayInfo& GetDisplayInfo(int64_t display_id) const = 0;
176 179
177 // Matches that of DisplayManager::IsActiveDisplayId(). 180 // Matches that of DisplayManager::IsActiveDisplayId().
178 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 181 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
179 virtual bool IsActiveDisplayId(int64_t display_id) const = 0; 182 virtual bool IsActiveDisplayId(int64_t display_id) const = 0;
180 183
181 // Returns true if the desktop is in unified mode. 184 // Returns true if the desktop is in unified mode.
182 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 185 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
183 virtual bool IsInUnifiedMode() const = 0; 186 virtual bool IsInUnifiedMode() const = 0;
184 187
185 // Returns the first display; this is the first display listed by hardware, 188 // Returns the first display; this is the first display listed by hardware,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 bool simulate_modal_window_open_for_testing_ = false; 423 bool simulate_modal_window_open_for_testing_ = false;
421 424
422 #if defined(OS_CHROMEOS) 425 #if defined(OS_CHROMEOS)
423 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 426 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
424 #endif 427 #endif
425 }; 428 };
426 429
427 } // namespace ash 430 } // namespace ash
428 431
429 #endif // ASH_COMMON_WM_SHELL_H_ 432 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/system/audio/tray_audio.cc ('k') | ash/content/display/screen_orientation_controller_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698