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

Side by Side Diff: ash/shell_delegate.h

Issue 11783097: Revert 176102 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 months 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
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/system/tray_accessibility.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // Returns true if spoken feedback is enabled. 143 // Returns true if spoken feedback is enabled.
144 virtual bool IsSpokenFeedbackEnabled() const = 0; 144 virtual bool IsSpokenFeedbackEnabled() const = 0;
145 145
146 // Invoked to toggle high contrast for accessibility. 146 // Invoked to toggle high contrast for accessibility.
147 virtual void ToggleHighContrast() = 0; 147 virtual void ToggleHighContrast() = 0;
148 148
149 // Returns true if high contrast mode is enabled. 149 // Returns true if high contrast mode is enabled.
150 virtual bool IsHighContrastEnabled() const = 0; 150 virtual bool IsHighContrastEnabled() const = 0;
151 151
152 // Invoked to change the mode of the screen magnifier. 152 // Invoked to enable the screen magnifier.
153 virtual void SetMagnifier(MagnifierType type) = 0; 153 virtual void SetMagnifierEnabled(bool enabled) = 0;
154
155 // Invoked to change the type of the screen magnifier.
156 virtual void SetMagnifierType(MagnifierType type) = 0;
157
158 // Returns if the screen magnifier is enabled or not.
159 virtual bool IsMagnifierEnabled() const = 0;
154 160
155 // Returns the current screen magnifier mode. 161 // Returns the current screen magnifier mode.
156 virtual MagnifierType GetMagnifierType() const = 0; 162 virtual MagnifierType GetMagnifierType() const = 0;
157 163
158 // Returns true if the user want to show accesibility menu even when all the 164 // Returns true if the user want to show accesibility menu even when all the
159 // accessibility features are disabled. 165 // accessibility features are disabled.
160 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; 166 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0;
161 167
162 // Invoked to create an AppListViewDelegate. Shell takes the ownership of 168 // Invoked to create an AppListViewDelegate. Shell takes the ownership of
163 // the created delegate. 169 // the created delegate.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 virtual aura::client::StackingClient* CreateStackingClient() = 0; 223 virtual aura::client::StackingClient* CreateStackingClient() = 0;
218 224
219 // Creates a root window host factory. Shell takes ownership of the returned 225 // Creates a root window host factory. Shell takes ownership of the returned
220 // value. 226 // value.
221 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 227 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
222 }; 228 };
223 229
224 } // namespace ash 230 } // namespace ash
225 231
226 #endif // ASH_SHELL_DELEGATE_H_ 232 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698