OLD | NEW |
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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 class ChromeLauncherControllerImpl; | 25 class ChromeLauncherControllerImpl; |
26 | 26 |
27 class ChromeShellDelegate : public ash::ShellDelegate, | 27 class ChromeShellDelegate : public ash::ShellDelegate, |
28 public content::NotificationObserver { | 28 public content::NotificationObserver { |
29 public: | 29 public: |
30 ChromeShellDelegate(); | 30 ChromeShellDelegate(); |
31 ~ChromeShellDelegate() override; | 31 ~ChromeShellDelegate() override; |
32 | 32 |
33 // ash::ShellDelegate overrides; | 33 // ash::ShellDelegate overrides; |
34 shell::Connector* GetShellConnector() const override; | 34 service_manager::Connector* GetShellConnector() const override; |
35 bool IsFirstRunAfterBoot() const override; | 35 bool IsFirstRunAfterBoot() const override; |
36 bool IsMultiProfilesEnabled() const override; | 36 bool IsMultiProfilesEnabled() const override; |
37 bool IsIncognitoAllowed() const override; | 37 bool IsIncognitoAllowed() const override; |
38 bool IsRunningInForcedAppMode() const override; | 38 bool IsRunningInForcedAppMode() const override; |
39 bool CanShowWindowForUser(ash::WmWindow* window) const override; | 39 bool CanShowWindowForUser(ash::WmWindow* window) const override; |
40 bool IsForceMaximizeOnFirstRun() const override; | 40 bool IsForceMaximizeOnFirstRun() const override; |
41 void PreInit() override; | 41 void PreInit() override; |
42 void PreShutdown() override; | 42 void PreShutdown() override; |
43 void Exit() override; | 43 void Exit() override; |
44 keyboard::KeyboardUI* CreateKeyboardUI() override; | 44 keyboard::KeyboardUI* CreateKeyboardUI() override; |
(...skipping 28 matching lines...) Expand all Loading... |
73 | 73 |
74 ChromeLauncherControllerImpl* shelf_delegate_; | 74 ChromeLauncherControllerImpl* shelf_delegate_; |
75 | 75 |
76 std::unique_ptr<chromeos::DisplayConfigurationObserver> | 76 std::unique_ptr<chromeos::DisplayConfigurationObserver> |
77 display_configuration_observer_; | 77 display_configuration_observer_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 79 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 82 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |