| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 ash::GPUSupport* CreateGPUSupport() override; | 54 ash::GPUSupport* CreateGPUSupport() override; |
| 55 base::string16 GetProductName() const override; | 55 base::string16 GetProductName() const override; |
| 56 void OpenKeyboardShortcutHelpPage() const override; | 56 void OpenKeyboardShortcutHelpPage() const override; |
| 57 gfx::Image GetDeprecatedAcceleratorImage() const override; | 57 gfx::Image GetDeprecatedAcceleratorImage() const override; |
| 58 PrefService* GetActiveUserPrefService() const override; | 58 PrefService* GetActiveUserPrefService() const override; |
| 59 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; | 59 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; |
| 60 void SetTouchscreenEnabledInPrefs(bool enabled, | 60 void SetTouchscreenEnabledInPrefs(bool enabled, |
| 61 bool use_local_state) override; | 61 bool use_local_state) override; |
| 62 void UpdateTouchscreenStatusFromPrefs() override; | 62 void UpdateTouchscreenStatusFromPrefs() override; |
| 63 void ToggleTouchpad() override; | 63 void ToggleTouchpad() override; |
| 64 void SuspendMediaSessions() override; |
| 64 | 65 |
| 65 // content::NotificationObserver override: | 66 // content::NotificationObserver override: |
| 66 void Observe(int type, | 67 void Observe(int type, |
| 67 const content::NotificationSource& source, | 68 const content::NotificationSource& source, |
| 68 const content::NotificationDetails& details) override; | 69 const content::NotificationDetails& details) override; |
| 69 | 70 |
| 70 private: | 71 private: |
| 71 void PlatformInit(); | 72 void PlatformInit(); |
| 72 | 73 |
| 73 content::NotificationRegistrar registrar_; | 74 content::NotificationRegistrar registrar_; |
| 74 | 75 |
| 75 std::unique_ptr<ChromeLauncherController> launcher_controller_; | 76 std::unique_ptr<ChromeLauncherController> launcher_controller_; |
| 76 | 77 |
| 77 std::unique_ptr<chromeos::DisplayConfigurationObserver> | 78 std::unique_ptr<chromeos::DisplayConfigurationObserver> |
| 78 display_configuration_observer_; | 79 display_configuration_observer_; |
| 79 | 80 |
| 80 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 81 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 84 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |