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