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 <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shelf/shelf_item_types.h" | 10 #include "ash/shelf/shelf_item_types.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ~ChromeShellDelegate() override; | 45 ~ChromeShellDelegate() override; |
46 | 46 |
47 static ChromeShellDelegate* instance() { return instance_; } | 47 static ChromeShellDelegate* instance() { return instance_; } |
48 | 48 |
49 // ash::ShellDelegate overrides; | 49 // ash::ShellDelegate overrides; |
50 bool IsFirstRunAfterBoot() const override; | 50 bool IsFirstRunAfterBoot() const override; |
51 bool IsMultiProfilesEnabled() const override; | 51 bool IsMultiProfilesEnabled() const override; |
52 bool IsIncognitoAllowed() const override; | 52 bool IsIncognitoAllowed() const override; |
53 bool IsRunningInForcedAppMode() const override; | 53 bool IsRunningInForcedAppMode() const override; |
54 bool IsMultiAccountEnabled() const override; | 54 bool IsMultiAccountEnabled() const override; |
| 55 bool ForceMaximizeOnFirstRun() const override; |
55 void PreInit() override; | 56 void PreInit() override; |
56 void PreShutdown() override; | 57 void PreShutdown() override; |
57 void Exit() override; | 58 void Exit() override; |
58 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override; | 59 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override; |
59 void VirtualKeyboardActivated(bool activated) override; | 60 void VirtualKeyboardActivated(bool activated) override; |
60 void AddVirtualKeyboardStateObserver( | 61 void AddVirtualKeyboardStateObserver( |
61 ash::VirtualKeyboardStateObserver* observer) override; | 62 ash::VirtualKeyboardStateObserver* observer) override; |
62 void RemoveVirtualKeyboardStateObserver( | 63 void RemoveVirtualKeyboardStateObserver( |
63 ash::VirtualKeyboardStateObserver* observer) override; | 64 ash::VirtualKeyboardStateObserver* observer) override; |
64 content::BrowserContext* GetActiveBrowserContext() override; | 65 content::BrowserContext* GetActiveBrowserContext() override; |
(...skipping 29 matching lines...) Expand all Loading... |
94 | 95 |
95 #if defined(OS_CHROMEOS) | 96 #if defined(OS_CHROMEOS) |
96 scoped_ptr<chromeos::DisplayConfigurationObserver> | 97 scoped_ptr<chromeos::DisplayConfigurationObserver> |
97 display_configuration_observer_; | 98 display_configuration_observer_; |
98 #endif | 99 #endif |
99 | 100 |
100 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 101 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
101 }; | 102 }; |
102 | 103 |
103 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 104 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |