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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 2809443002: Make Is*** functions in AccessibilityManager as const member functions. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/accessibility_manager.h
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.h b/chrome/browser/chromeos/accessibility/accessibility_manager.h
index 0c7aeddba230c5d9770499ae4e06949c2197787a..1a1614a211ca29a5f8ffef9475e983f938981157 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h
@@ -140,7 +140,7 @@ class AccessibilityManager
// Enables or disables the large cursor.
void EnableLargeCursor(bool enabled);
// Returns true if the large cursor is enabled, or false if not.
- bool IsLargeCursorEnabled();
+ bool IsLargeCursorEnabled() const;
// Enables or disable Sticky Keys.
void EnableStickyKeys(bool enabled);
@@ -149,7 +149,7 @@ class AccessibilityManager
bool IsIncognitoAllowed();
// Returns true if the Sticky Keys is enabled, or false if not.
- bool IsStickyKeysEnabled();
+ bool IsStickyKeysEnabled() const;
// Enables or disables spoken feedback. Enabling spoken feedback installs the
// ChromeVox component extension.
@@ -157,7 +157,7 @@ class AccessibilityManager
ash::AccessibilityNotificationVisibility notify);
// Returns true if spoken feedback is enabled, or false if not.
- bool IsSpokenFeedbackEnabled();
+ bool IsSpokenFeedbackEnabled() const;
// Toggles whether Chrome OS spoken feedback is on or off.
void ToggleSpokenFeedback(ash::AccessibilityNotificationVisibility notify);
@@ -166,13 +166,13 @@ class AccessibilityManager
void EnableHighContrast(bool enabled);
// Returns true if High Contrast is enabled, or false if not.
- bool IsHighContrastEnabled();
+ bool IsHighContrastEnabled() const;
// Enables or disables autoclick.
void EnableAutoclick(bool enabled);
// Returns true if autoclick is enabled.
- bool IsAutoclickEnabled();
+ bool IsAutoclickEnabled() const;
// Set the delay for autoclicking after stopping the cursor in milliseconds.
void SetAutoclickDelay(int delay_ms);
@@ -183,12 +183,12 @@ class AccessibilityManager
// Enables or disables the virtual keyboard.
void EnableVirtualKeyboard(bool enabled);
// Returns true if the virtual keyboard is enabled, otherwise false.
- bool IsVirtualKeyboardEnabled();
+ bool IsVirtualKeyboardEnabled() const;
// Enables or disables mono audio output.
void EnableMonoAudio(bool enabled);
// Returns true if mono audio output is enabled, otherwise false.
- bool IsMonoAudioEnabled();
+ bool IsMonoAudioEnabled() const;
// Invoked to enable or disable caret highlighting.
void SetCaretHighlightEnabled(bool enabled);
@@ -212,7 +212,7 @@ class AccessibilityManager
void EnableTapDragging(bool enabled);
// Returns true if the tap dragging is enabled, or false if not.
- bool IsTapDraggingEnabled();
+ bool IsTapDraggingEnabled() const;
// Invoked to enable or disable select-to-speak.
void SetSelectToSpeakEnabled(bool enabled);
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698