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 "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 35 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
36 virtual void OpenCrosh() OVERRIDE; | 36 virtual void OpenCrosh() OVERRIDE; |
37 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 37 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
38 virtual void RestoreTab() OVERRIDE; | 38 virtual void RestoreTab() OVERRIDE; |
39 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; | 39 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; |
40 virtual void ShowKeyboardOverlay() OVERRIDE; | 40 virtual void ShowKeyboardOverlay() OVERRIDE; |
41 virtual void ShowTaskManager() OVERRIDE; | 41 virtual void ShowTaskManager() OVERRIDE; |
42 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 42 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
43 virtual void ToggleSpokenFeedback() OVERRIDE; | 43 virtual void ToggleSpokenFeedback() OVERRIDE; |
44 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 44 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
| 45 virtual void ToggleHighContrast() OVERRIDE; |
| 46 virtual bool IsHighContrastEnabled() const OVERRIDE; |
| 47 virtual void SetScreenMagnifier(ScreenMagnifierType type) OVERRIDE; |
| 48 virtual ScreenMagnifierType GetScreenMagnifierType() const OVERRIDE; |
| 49 virtual bool AlwaysShowAccessibilityMenu() const OVERRIDE; |
45 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 50 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
46 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 51 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
47 ash::LauncherModel* model) OVERRIDE; | 52 ash::LauncherModel* model) OVERRIDE; |
48 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 53 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
49 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 54 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
50 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 55 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
51 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 56 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
52 virtual void OpenFeedbackPage() OVERRIDE; | 57 virtual void OpenFeedbackPage() OVERRIDE; |
53 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; | 58 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; |
54 virtual void HandleMediaNextTrack() OVERRIDE; | 59 virtual void HandleMediaNextTrack() OVERRIDE; |
55 virtual void HandleMediaPlayPause() OVERRIDE; | 60 virtual void HandleMediaPlayPause() OVERRIDE; |
56 virtual void HandleMediaPrevTrack() OVERRIDE; | 61 virtual void HandleMediaPrevTrack() OVERRIDE; |
57 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; | 62 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; |
58 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; | 63 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; |
59 virtual double GetSavedScreenMagnifierScale() OVERRIDE; | 64 virtual double GetSavedScreenMagnifierScale() OVERRIDE; |
60 virtual ui::MenuModel* CreateContextMenu( | 65 virtual ui::MenuModel* CreateContextMenu( |
61 aura::RootWindow* root_window) OVERRIDE; | 66 aura::RootWindow* root_window) OVERRIDE; |
62 virtual aura::client::StackingClient* CreateStackingClient() OVERRIDE; | 67 virtual aura::client::StackingClient* CreateStackingClient() OVERRIDE; |
63 | 68 |
64 private: | 69 private: |
65 // Used to update Launcher. Owned by main. | 70 // Used to update Launcher. Owned by main. |
66 WindowWatcher* watcher_; | 71 WindowWatcher* watcher_; |
67 | 72 |
68 LauncherDelegateImpl* launcher_delegate_; | 73 LauncherDelegateImpl* launcher_delegate_; |
69 | 74 |
70 bool locked_; | 75 bool locked_; |
71 bool spoken_feedback_enabled_; | 76 bool spoken_feedback_enabled_; |
| 77 bool high_contrast_enabled_; |
| 78 ScreenMagnifierType screen_magnifier_type_; |
72 | 79 |
73 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 80 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
74 }; | 81 }; |
75 | 82 |
76 } // namespace shell | 83 } // namespace shell |
77 } // namespace ash | 84 } // namespace ash |
78 | 85 |
79 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 86 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |