| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 class ChromeLauncherControllerImpl; | 26 class ChromeLauncherControllerImpl; |
| 27 | 27 |
| 28 class ChromeShellDelegate : public ash::ShellDelegate, | 28 class ChromeShellDelegate : public ash::ShellDelegate, |
| 29 public content::NotificationObserver { | 29 public content::NotificationObserver { |
| 30 public: | 30 public: |
| 31 ChromeShellDelegate(); | 31 ChromeShellDelegate(); |
| 32 ~ChromeShellDelegate() override; | 32 ~ChromeShellDelegate() override; |
| 33 | 33 |
| 34 // ash::ShellDelegate overrides; | 34 // ash::ShellDelegate overrides; |
| 35 shell::Connector* GetShellConnector() const override; |
| 35 bool IsFirstRunAfterBoot() const override; | 36 bool IsFirstRunAfterBoot() const override; |
| 36 bool IsMultiProfilesEnabled() const override; | 37 bool IsMultiProfilesEnabled() const override; |
| 37 bool IsIncognitoAllowed() const override; | 38 bool IsIncognitoAllowed() const override; |
| 38 bool IsRunningInForcedAppMode() const override; | 39 bool IsRunningInForcedAppMode() const override; |
| 39 bool CanShowWindowForUser(ash::WmWindow* window) const override; | 40 bool CanShowWindowForUser(ash::WmWindow* window) const override; |
| 40 bool IsForceMaximizeOnFirstRun() const override; | 41 bool IsForceMaximizeOnFirstRun() const override; |
| 41 void PreInit() override; | 42 void PreInit() override; |
| 42 void PreShutdown() override; | 43 void PreShutdown() override; |
| 43 void Exit() override; | 44 void Exit() override; |
| 44 keyboard::KeyboardUI* CreateKeyboardUI() override; | 45 keyboard::KeyboardUI* CreateKeyboardUI() override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // Proxies events from chrome/browser to ash::UserMetricsRecorder. | 77 // Proxies events from chrome/browser to ash::UserMetricsRecorder. |
| 77 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_; | 78 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_; |
| 78 | 79 |
| 79 std::unique_ptr<chromeos::DisplayConfigurationObserver> | 80 std::unique_ptr<chromeos::DisplayConfigurationObserver> |
| 80 display_configuration_observer_; | 81 display_configuration_observer_; |
| 81 | 82 |
| 82 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 83 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 86 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |