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

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 11642014: Re-introduce the partial magnifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | Annotate | Revision Log
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 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 28 matching lines...) Expand all
39 virtual void RestoreTab() OVERRIDE; 39 virtual void RestoreTab() OVERRIDE;
40 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; 40 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE;
41 virtual void ShowKeyboardOverlay() OVERRIDE; 41 virtual void ShowKeyboardOverlay() OVERRIDE;
42 virtual void ShowTaskManager() OVERRIDE; 42 virtual void ShowTaskManager() OVERRIDE;
43 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; 43 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE;
44 virtual void ToggleSpokenFeedback( 44 virtual void ToggleSpokenFeedback(
45 AccessibilityNotificationVisibility notify) OVERRIDE; 45 AccessibilityNotificationVisibility notify) OVERRIDE;
46 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; 46 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE;
47 virtual void ToggleHighContrast() OVERRIDE; 47 virtual void ToggleHighContrast() OVERRIDE;
48 virtual bool IsHighContrastEnabled() const OVERRIDE; 48 virtual bool IsHighContrastEnabled() const OVERRIDE;
49 virtual void SetMagnifier(MagnifierType type) OVERRIDE; 49 virtual void SetMagnifier(bool enabled, MagnifierType type) OVERRIDE;
50 virtual bool IsMagnifierEnabled() const OVERRIDE;
50 virtual MagnifierType GetMagnifierType() const OVERRIDE; 51 virtual MagnifierType GetMagnifierType() const OVERRIDE;
51 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE; 52 virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE;
52 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; 53 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
53 virtual ash::LauncherDelegate* CreateLauncherDelegate( 54 virtual ash::LauncherDelegate* CreateLauncherDelegate(
54 ash::LauncherModel* model) OVERRIDE; 55 ash::LauncherModel* model) OVERRIDE;
55 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; 56 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE;
56 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 57 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
57 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; 58 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE;
58 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 59 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
59 virtual void OpenFeedbackPage() OVERRIDE; 60 virtual void OpenFeedbackPage() OVERRIDE;
(...skipping 12 matching lines...) Expand all
72 73
73 private: 74 private:
74 // Used to update Launcher. Owned by main. 75 // Used to update Launcher. Owned by main.
75 WindowWatcher* watcher_; 76 WindowWatcher* watcher_;
76 77
77 LauncherDelegateImpl* launcher_delegate_; 78 LauncherDelegateImpl* launcher_delegate_;
78 79
79 bool locked_; 80 bool locked_;
80 bool spoken_feedback_enabled_; 81 bool spoken_feedback_enabled_;
81 bool high_contrast_enabled_; 82 bool high_contrast_enabled_;
83 bool screen_magnifier_enabled_;
82 MagnifierType screen_magnifier_type_; 84 MagnifierType screen_magnifier_type_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 86 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
85 }; 87 };
86 88
87 } // namespace shell 89 } // namespace shell
88 } // namespace ash 90 } // namespace ash
89 91
90 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 92 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698