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

Side by Side Diff: ash/accessibility_delegate.h

Issue 102483006: Getting rid of GetDefaultProfile & fixing multi user issues with accessibility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ACCESSIBILITY_DELEGATE_H_ 5 #ifndef ASH_ACCESSIBILITY_DELEGATE_H_
6 #define ASH_ACCESSIBILITY_DELEGATE_H_ 6 #define ASH_ACCESSIBILITY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/magnifier/magnifier_constants.h" 9 #include "ash/magnifier/magnifier_constants.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // Returns ture if Large Cursor is enabled or not. 57 // Returns ture if Large Cursor is enabled or not.
58 virtual bool IsLargeCursorEnabled() const = 0; 58 virtual bool IsLargeCursorEnabled() const = 0;
59 59
60 // Invoked to enable autoclick. 60 // Invoked to enable autoclick.
61 virtual void SetAutoclickEnabled(bool enabled) = 0; 61 virtual void SetAutoclickEnabled(bool enabled) = 0;
62 62
63 // Returns if autoclick is enabled or not. 63 // Returns if autoclick is enabled or not.
64 virtual bool IsAutoclickEnabled() const = 0; 64 virtual bool IsAutoclickEnabled() const = 0;
65 65
66 // Returns true if the user wants to show accesibility menu even when all the 66 // Returns true if the user wants to show accessibility menu.
dmazzoni 2013/12/13 16:15:07 I think it's misleading to say "if the user wants.
Mr4D (OOO till 08-26) 2013/12/13 17:21:13 Done.
67 // accessibility features are disabled. 67 virtual bool ShouldShowAccessibilityMenu() const = 0;
68 virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0;
69 68
70 // Cancel all current and queued speech immediately. 69 // Cancel all current and queued speech immediately.
71 virtual void SilenceSpokenFeedback() const = 0; 70 virtual void SilenceSpokenFeedback() const = 0;
72 71
73 // Saves the zoom scale of the full screen magnifier. 72 // Saves the zoom scale of the full screen magnifier.
74 virtual void SaveScreenMagnifierScale(double scale) = 0; 73 virtual void SaveScreenMagnifierScale(double scale) = 0;
75 74
76 // Gets a saved value of the zoom scale of full screen magnifier. If a value 75 // Gets a saved value of the zoom scale of full screen magnifier. If a value
77 // is not saved, return a negative value. 76 // is not saved, return a negative value.
78 virtual double GetSavedScreenMagnifierScale() = 0; 77 virtual double GetSavedScreenMagnifierScale() = 0;
79 78
80 // Triggers an accessibility alert to give the user feedback. 79 // Triggers an accessibility alert to give the user feedback.
81 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) = 0; 80 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) = 0;
82 81
83 // Gets the last accessibility alert that was triggered. 82 // Gets the last accessibility alert that was triggered.
84 virtual AccessibilityAlert GetLastAccessibilityAlert() = 0; 83 virtual AccessibilityAlert GetLastAccessibilityAlert() = 0;
85 84
86 // Initiates play of shutdown sound and returns it's duration. 85 // Initiates play of shutdown sound and returns it's duration.
87 virtual base::TimeDelta PlayShutdownSound() const = 0; 86 virtual base::TimeDelta PlayShutdownSound() const = 0;
88 }; 87 };
89 88
90 } // namespace ash 89 } // namespace ash
91 90
92 #endif // ASH_ACCESSIBILITYDELEGATE_H_ 91 #endif // ASH_ACCESSIBILITYDELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/default_accessibility_delegate.h » ('j') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698