| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); } | 170 WallpaperDelegate* wallpaper_delegate() { return wallpaper_delegate_.get(); } |
| 171 | 171 |
| 172 WindowCycleController* window_cycle_controller() { | 172 WindowCycleController* window_cycle_controller() { |
| 173 return window_cycle_controller_.get(); | 173 return window_cycle_controller_.get(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 WindowSelectorController* window_selector_controller() { | 176 WindowSelectorController* window_selector_controller() { |
| 177 return window_selector_controller_.get(); | 177 return window_selector_controller_.get(); |
| 178 } | 178 } |
| 179 | 179 |
| 180 // Returns true when ash is running in its own mojo application/service. | 180 // Returns true when ash is running as a shell::Service. |
| 181 virtual bool IsRunningInMash() const = 0; | 181 virtual bool IsRunningInMash() const = 0; |
| 182 | 182 |
| 183 virtual WmWindow* NewWindow(ui::wm::WindowType window_type, | 183 virtual WmWindow* NewWindow(ui::wm::WindowType window_type, |
| 184 ui::LayerType layer_type) = 0; | 184 ui::LayerType layer_type) = 0; |
| 185 | 185 |
| 186 virtual WmWindow* GetFocusedWindow() = 0; | 186 virtual WmWindow* GetFocusedWindow() = 0; |
| 187 virtual WmWindow* GetActiveWindow() = 0; | 187 virtual WmWindow* GetActiveWindow() = 0; |
| 188 | 188 |
| 189 virtual WmWindow* GetCaptureWindow() = 0; | 189 virtual WmWindow* GetCaptureWindow() = 0; |
| 190 | 190 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 485 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 486 | 486 |
| 487 #if defined(OS_CHROMEOS) | 487 #if defined(OS_CHROMEOS) |
| 488 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 488 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
| 489 #endif | 489 #endif |
| 490 }; | 490 }; |
| 491 | 491 |
| 492 } // namespace ash | 492 } // namespace ash |
| 493 | 493 |
| 494 #endif // ASH_COMMON_WM_SHELL_H_ | 494 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |