Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 11415025: A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: review fix (comment #10) Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 SetScreenMagnifier(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 18 matching lines...) Expand all
89 scoped_ptr<ash::WindowPositioner> window_positioner_; 94 scoped_ptr<ash::WindowPositioner> window_positioner_;
90 95
91 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; 96 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_;
92 97
93 ChromeLauncherController* launcher_delegate_; 98 ChromeLauncherController* launcher_delegate_;
94 99
95 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 100 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
96 }; 101 };
97 102
98 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 103 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698