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 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 service_manager::Connector* GetShellConnector() const override; | 34 service_manager::Connector* GetShellConnector() const override; |
35 bool IsFirstRunAfterBoot() const override; | |
36 bool IsMultiProfilesEnabled() const override; | 35 bool IsMultiProfilesEnabled() const override; |
37 bool IsIncognitoAllowed() const override; | 36 bool IsIncognitoAllowed() const override; |
38 bool IsRunningInForcedAppMode() const override; | 37 bool IsRunningInForcedAppMode() const override; |
39 bool CanShowWindowForUser(ash::WmWindow* window) const override; | 38 bool CanShowWindowForUser(ash::WmWindow* window) const override; |
40 bool IsForceMaximizeOnFirstRun() const override; | 39 bool IsForceMaximizeOnFirstRun() const override; |
41 void PreInit() override; | 40 void PreInit() override; |
42 void PreShutdown() override; | 41 void PreShutdown() override; |
43 void Exit() override; | 42 void Exit() override; |
44 keyboard::KeyboardUI* CreateKeyboardUI() override; | 43 keyboard::KeyboardUI* CreateKeyboardUI() override; |
45 void OpenUrlFromArc(const GURL& url) override; | 44 void OpenUrlFromArc(const GURL& url) override; |
(...skipping 27 matching lines...) Expand all Loading... |
73 | 72 |
74 ChromeLauncherControllerImpl* shelf_delegate_; | 73 ChromeLauncherControllerImpl* shelf_delegate_; |
75 | 74 |
76 std::unique_ptr<chromeos::DisplayConfigurationObserver> | 75 std::unique_ptr<chromeos::DisplayConfigurationObserver> |
77 display_configuration_observer_; | 76 display_configuration_observer_; |
78 | 77 |
79 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 78 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
80 }; | 79 }; |
81 | 80 |
82 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 81 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |