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 "ash/launcher/launcher_types.h" | 8 #include "ash/launcher/launcher_types.h" |
9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void NewWindow(bool is_incognito) OVERRIDE; | 49 virtual void NewWindow(bool is_incognito) OVERRIDE; |
50 virtual void ToggleMaximized() OVERRIDE; | 50 virtual void ToggleMaximized() OVERRIDE; |
51 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 51 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
52 virtual void OpenCrosh() OVERRIDE; | 52 virtual void OpenCrosh() OVERRIDE; |
53 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 53 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
54 virtual void RestoreTab() OVERRIDE; | 54 virtual void RestoreTab() OVERRIDE; |
55 virtual bool RotatePaneFocus(ash::Shell::Direction direction) OVERRIDE; | 55 virtual bool RotatePaneFocus(ash::Shell::Direction direction) OVERRIDE; |
56 virtual void ShowKeyboardOverlay() OVERRIDE; | 56 virtual void ShowKeyboardOverlay() OVERRIDE; |
57 virtual void ShowTaskManager() OVERRIDE; | 57 virtual void ShowTaskManager() OVERRIDE; |
58 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 58 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
| 59 virtual void ToggleHighContrast() OVERRIDE; |
| 60 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
59 virtual void ToggleSpokenFeedback() OVERRIDE; | 61 virtual void ToggleSpokenFeedback() OVERRIDE; |
60 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 62 virtual bool IsHighContrastEnabled() const OVERRIDE; |
| 63 virtual void SetMagnifier(ash::MagnifierType type) OVERRIDE; |
| 64 virtual ash::MagnifierType GetMagnifierType() const OVERRIDE; |
| 65 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; |
61 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 66 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
62 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 67 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
63 ash::LauncherModel* model) OVERRIDE; | 68 ash::LauncherModel* model) OVERRIDE; |
64 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 69 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
65 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 70 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
66 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 71 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
67 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 72 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
68 virtual void OpenFeedbackPage() OVERRIDE; | 73 virtual void OpenFeedbackPage() OVERRIDE; |
69 virtual void RecordUserMetricsAction(ash::UserMetricsAction action) OVERRIDE; | 74 virtual void RecordUserMetricsAction(ash::UserMetricsAction action) OVERRIDE; |
70 virtual void HandleMediaNextTrack() OVERRIDE; | 75 virtual void HandleMediaNextTrack() OVERRIDE; |
(...skipping 20 matching lines...) Expand all Loading... |
91 scoped_ptr<ash::WindowPositioner> window_positioner_; | 96 scoped_ptr<ash::WindowPositioner> window_positioner_; |
92 | 97 |
93 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; | 98 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; |
94 | 99 |
95 ChromeLauncherController* launcher_delegate_; | 100 ChromeLauncherController* launcher_delegate_; |
96 | 101 |
97 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 102 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
98 }; | 103 }; |
99 | 104 |
100 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 105 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |