| 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 ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 | 12 |
| 13 namespace keyboard { |
| 14 class KeyboardControllerProxy; |
| 15 } |
| 16 |
| 13 namespace ash { | 17 namespace ash { |
| 14 namespace shell { | 18 namespace shell { |
| 15 | 19 |
| 16 class LauncherDelegateImpl; | 20 class LauncherDelegateImpl; |
| 17 class WindowWatcher; | 21 class WindowWatcher; |
| 18 | 22 |
| 19 class ShellDelegateImpl : public ash::ShellDelegate { | 23 class ShellDelegateImpl : public ash::ShellDelegate { |
| 20 public: | 24 public: |
| 21 ShellDelegateImpl(); | 25 ShellDelegateImpl(); |
| 22 virtual ~ShellDelegateImpl(); | 26 virtual ~ShellDelegateImpl(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 virtual void Exit() OVERRIDE; | 41 virtual void Exit() OVERRIDE; |
| 38 virtual void NewTab() OVERRIDE; | 42 virtual void NewTab() OVERRIDE; |
| 39 virtual void NewWindow(bool incognito) OVERRIDE; | 43 virtual void NewWindow(bool incognito) OVERRIDE; |
| 40 virtual void ToggleMaximized() OVERRIDE; | 44 virtual void ToggleMaximized() OVERRIDE; |
| 41 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 45 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
| 42 virtual void OpenCrosh() OVERRIDE; | 46 virtual void OpenCrosh() OVERRIDE; |
| 43 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 47 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
| 44 virtual void RestoreTab() OVERRIDE; | 48 virtual void RestoreTab() OVERRIDE; |
| 45 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; | 49 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; |
| 46 virtual void ShowKeyboardOverlay() OVERRIDE; | 50 virtual void ShowKeyboardOverlay() OVERRIDE; |
| 51 virtual keyboard::KeyboardControllerProxy* |
| 52 CreateKeyboardControllerProxy() OVERRIDE; |
| 47 virtual void ShowTaskManager() OVERRIDE; | 53 virtual void ShowTaskManager() OVERRIDE; |
| 48 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 54 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
| 49 virtual void ToggleSpokenFeedback( | 55 virtual void ToggleSpokenFeedback( |
| 50 AccessibilityNotificationVisibility notify) OVERRIDE; | 56 AccessibilityNotificationVisibility notify) OVERRIDE; |
| 51 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 57 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
| 52 virtual void ToggleHighContrast() OVERRIDE; | 58 virtual void ToggleHighContrast() OVERRIDE; |
| 53 virtual bool IsHighContrastEnabled() const OVERRIDE; | 59 virtual bool IsHighContrastEnabled() const OVERRIDE; |
| 54 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; | 60 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; |
| 55 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; | 61 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; |
| 56 virtual bool IsMagnifierEnabled() const OVERRIDE; | 62 virtual bool IsMagnifierEnabled() const OVERRIDE; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 bool screen_magnifier_enabled_; | 95 bool screen_magnifier_enabled_; |
| 90 MagnifierType screen_magnifier_type_; | 96 MagnifierType screen_magnifier_type_; |
| 91 | 97 |
| 92 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 98 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
| 93 }; | 99 }; |
| 94 | 100 |
| 95 } // namespace shell | 101 } // namespace shell |
| 96 } // namespace ash | 102 } // namespace ash |
| 97 | 103 |
| 98 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 104 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| OLD | NEW |