OLD | NEW |
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 16 matching lines...) Expand all Loading... |
27 namespace display { | 27 namespace display { |
28 class Display; | 28 class Display; |
29 class ManagedDisplayInfo; | 29 class ManagedDisplayInfo; |
30 } | 30 } |
31 | 31 |
32 namespace gfx { | 32 namespace gfx { |
33 class Insets; | 33 class Insets; |
34 class Point; | 34 class Point; |
35 } | 35 } |
36 | 36 |
37 namespace shell { | 37 namespace service_manager { |
38 class Connector; | 38 class Connector; |
39 } | 39 } |
40 | 40 |
41 namespace views { | 41 namespace views { |
42 class PointerWatcher; | 42 class PointerWatcher; |
43 enum class PointerWatcherEventTypes; | 43 enum class PointerWatcherEventTypes; |
44 } | 44 } |
45 | 45 |
46 namespace ash { | 46 namespace ash { |
47 | 47 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); } | 174 WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); } |
175 | 175 |
176 WindowCycleController* window_cycle_controller() { | 176 WindowCycleController* window_cycle_controller() { |
177 return window_cycle_controller_.get(); | 177 return window_cycle_controller_.get(); |
178 } | 178 } |
179 | 179 |
180 WindowSelectorController* window_selector_controller() { | 180 WindowSelectorController* window_selector_controller() { |
181 return window_selector_controller_.get(); | 181 return window_selector_controller_.get(); |
182 } | 182 } |
183 | 183 |
184 // Returns true when ash is running as a shell::Service. | 184 // Returns true when ash is running as a service_manager::Service. |
185 virtual bool IsRunningInMash() const = 0; | 185 virtual bool IsRunningInMash() const = 0; |
186 | 186 |
187 virtual WmWindow* NewWindow(ui::wm::WindowType window_type, | 187 virtual WmWindow* NewWindow(ui::wm::WindowType window_type, |
188 ui::LayerType layer_type) = 0; | 188 ui::LayerType layer_type) = 0; |
189 | 189 |
190 virtual WmWindow* GetFocusedWindow() = 0; | 190 virtual WmWindow* GetFocusedWindow() = 0; |
191 virtual WmWindow* GetActiveWindow() = 0; | 191 virtual WmWindow* GetActiveWindow() = 0; |
192 | 192 |
193 virtual WmWindow* GetCaptureWindow() = 0; | 193 virtual WmWindow* GetCaptureWindow() = 0; |
194 | 194 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 500 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
501 | 501 |
502 #if defined(OS_CHROMEOS) | 502 #if defined(OS_CHROMEOS) |
503 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 503 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
504 #endif | 504 #endif |
505 }; | 505 }; |
506 | 506 |
507 } // namespace ash | 507 } // namespace ash |
508 | 508 |
509 #endif // ASH_COMMON_WM_SHELL_H_ | 509 #endif // ASH_COMMON_WM_SHELL_H_ |
OLD | NEW |