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

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

Issue 2320273002: Refactors DimWindow and moves to ash/common (Closed)
Patch Set: feedback and member initializer ordering Created 4 years, 3 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/common/wm_root_window_controller.cc ('k') | ash/common/wm_window.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 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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "ash/ash_export.h" 13 #include "ash/ash_export.h"
14 #include "ash/common/media_delegate.h" 14 #include "ash/common/media_delegate.h"
15 #include "ash/common/metrics/gesture_action_type.h" 15 #include "ash/common/metrics/gesture_action_type.h"
16 #include "ash/common/metrics/user_metrics_action.h" 16 #include "ash/common/metrics/user_metrics_action.h"
17 #include "ash/common/wm/lock_state_observer.h" 17 #include "ash/common/wm/lock_state_observer.h"
18 #include "base/observer_list.h" 18 #include "base/observer_list.h"
19 #include "ui/base/ui_base_types.h" 19 #include "ui/base/ui_base_types.h"
20 #include "ui/compositor/layer_type.h"
21 #include "ui/wm/public/window_types.h"
20 22
21 namespace base { 23 namespace base {
22 class SequencedWorkerPool; 24 class SequencedWorkerPool;
23 } 25 }
24 26
25 namespace display { 27 namespace display {
26 class Display; 28 class Display;
27 class ManagedDisplayInfo; 29 class ManagedDisplayInfo;
28 } 30 }
29 31
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); } 159 WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); }
158 160
159 WindowCycleController* window_cycle_controller() { 161 WindowCycleController* window_cycle_controller() {
160 return window_cycle_controller_.get(); 162 return window_cycle_controller_.get();
161 } 163 }
162 164
163 WindowSelectorController* window_selector_controller() { 165 WindowSelectorController* window_selector_controller() {
164 return window_selector_controller_.get(); 166 return window_selector_controller_.get();
165 } 167 }
166 168
167 // Creates a new window used as a container of other windows. No painting is 169 virtual WmWindow* NewWindow(ui::wm::WindowType window_type,
168 // done to the created window. 170 ui::LayerType layer_type) = 0;
169 virtual WmWindow* NewContainerWindow() = 0;
170 171
171 virtual WmWindow* GetFocusedWindow() = 0; 172 virtual WmWindow* GetFocusedWindow() = 0;
172 virtual WmWindow* GetActiveWindow() = 0; 173 virtual WmWindow* GetActiveWindow() = 0;
173 174
174 virtual WmWindow* GetCaptureWindow() = 0; 175 virtual WmWindow* GetCaptureWindow() = 0;
175 176
176 virtual WmWindow* GetPrimaryRootWindow() = 0; 177 virtual WmWindow* GetPrimaryRootWindow() = 0;
177 178
178 // Returns the root window for the specified display. 179 // Returns the root window for the specified display.
179 virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0; 180 virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0;
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 450 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
450 451
451 #if defined(OS_CHROMEOS) 452 #if defined(OS_CHROMEOS)
452 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 453 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
453 #endif 454 #endif
454 }; 455 };
455 456
456 } // namespace ash 457 } // namespace ash
457 458
458 #endif // ASH_COMMON_WM_SHELL_H_ 459 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/wm_root_window_controller.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698