| 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" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 47 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
| 48 virtual void ToggleSpokenFeedback( | 48 virtual void ToggleSpokenFeedback( |
| 49 AccessibilityNotificationVisibility notify) OVERRIDE; | 49 AccessibilityNotificationVisibility notify) OVERRIDE; |
| 50 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 50 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
| 51 virtual void ToggleHighContrast() OVERRIDE; | 51 virtual void ToggleHighContrast() OVERRIDE; |
| 52 virtual bool IsHighContrastEnabled() const OVERRIDE; | 52 virtual bool IsHighContrastEnabled() const OVERRIDE; |
| 53 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; | 53 virtual void SetMagnifierEnabled(bool enabled) OVERRIDE; |
| 54 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; | 54 virtual void SetMagnifierType(MagnifierType type) OVERRIDE; |
| 55 virtual bool IsMagnifierEnabled() const OVERRIDE; | 55 virtual bool IsMagnifierEnabled() const OVERRIDE; |
| 56 virtual MagnifierType GetMagnifierType() const OVERRIDE; | 56 virtual MagnifierType GetMagnifierType() const OVERRIDE; |
| 57 virtual void SetLargeCursorEnabled(bool enabled) OVERRIDE; |
| 58 virtual bool IsLargeCursorEnabled() const OVERRIDE; |
| 57 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; | 59 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; |
| 58 virtual void SilenceSpokenFeedback() const OVERRIDE; | 60 virtual void SilenceSpokenFeedback() const OVERRIDE; |
| 59 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 61 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 60 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 62 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
| 61 ash::LauncherModel* model) OVERRIDE; | 63 ash::LauncherModel* model) OVERRIDE; |
| 62 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 64 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
| 63 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 65 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
| 64 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 66 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
| 65 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 67 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
| 66 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 68 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 82 private: | 84 private: |
| 83 // Used to update Launcher. Owned by main. | 85 // Used to update Launcher. Owned by main. |
| 84 WindowWatcher* watcher_; | 86 WindowWatcher* watcher_; |
| 85 | 87 |
| 86 LauncherDelegateImpl* launcher_delegate_; | 88 LauncherDelegateImpl* launcher_delegate_; |
| 87 | 89 |
| 88 bool spoken_feedback_enabled_; | 90 bool spoken_feedback_enabled_; |
| 89 bool high_contrast_enabled_; | 91 bool high_contrast_enabled_; |
| 90 bool screen_magnifier_enabled_; | 92 bool screen_magnifier_enabled_; |
| 91 MagnifierType screen_magnifier_type_; | 93 MagnifierType screen_magnifier_type_; |
| 94 bool large_cursor_enabled_; |
| 92 | 95 |
| 93 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 96 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
| 94 }; | 97 }; |
| 95 | 98 |
| 96 } // namespace shell | 99 } // namespace shell |
| 97 } // namespace ash | 100 } // namespace ash |
| 98 | 101 |
| 99 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 102 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| OLD | NEW |