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

Unified Diff: ash/common/default_accessibility_delegate.h

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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 | « ash/common/cast_config_controller.cc ('k') | ash/common/default_accessibility_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/default_accessibility_delegate.h
diff --git a/ash/common/default_accessibility_delegate.h b/ash/common/default_accessibility_delegate.h
deleted file mode 100644
index 46af28039427d10beb22ad4dbf8b4abdccbfc8ea..0000000000000000000000000000000000000000
--- a/ash/common/default_accessibility_delegate.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_
-#define ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/accessibility_delegate.h"
-#include "ash/common/accessibility_types.h"
-#include "base/macros.h"
-
-namespace ash {
-
-class ASH_EXPORT DefaultAccessibilityDelegate : public AccessibilityDelegate {
- public:
- DefaultAccessibilityDelegate();
- ~DefaultAccessibilityDelegate() override;
-
- bool IsSpokenFeedbackEnabled() const override;
- void ToggleHighContrast() override;
- bool IsHighContrastEnabled() const override;
- void SetMagnifierEnabled(bool enabled) override;
- void SetMagnifierType(MagnifierType type) override;
- bool IsMagnifierEnabled() const override;
- MagnifierType GetMagnifierType() const override;
- void SetLargeCursorEnabled(bool enabled) override;
- bool IsLargeCursorEnabled() const override;
- void SetAutoclickEnabled(bool enabled) override;
- bool IsAutoclickEnabled() const override;
- void SetVirtualKeyboardEnabled(bool enabled) override;
- bool IsVirtualKeyboardEnabled() const override;
- void SetMonoAudioEnabled(bool enabled) override;
- bool IsMonoAudioEnabled() const override;
- void SetCaretHighlightEnabled(bool enabled) override;
- bool IsCaretHighlightEnabled() const override;
- void SetCursorHighlightEnabled(bool enabled) override;
- bool IsCursorHighlightEnabled() const override;
- void SetFocusHighlightEnabled(bool enabled) override;
- bool IsFocusHighlightEnabled() const override;
- void SetSelectToSpeakEnabled(bool enabled) override;
- bool IsSelectToSpeakEnabled() const override;
- void SetSwitchAccessEnabled(bool enabled) override;
- bool IsSwitchAccessEnabled() const override;
- bool ShouldShowAccessibilityMenu() const override;
- bool IsBrailleDisplayConnected() const override;
- void SilenceSpokenFeedback() const override;
- void ClearFocusHighlight() const override;
- void ToggleSpokenFeedback(
- AccessibilityNotificationVisibility notify) override;
- void SaveScreenMagnifierScale(double scale) override;
- double GetSavedScreenMagnifierScale() override;
- void TriggerAccessibilityAlert(AccessibilityAlert alert) override;
- AccessibilityAlert GetLastAccessibilityAlert() override;
- bool ShouldToggleSpokenFeedbackViaTouch() override;
- void PlaySpokenFeedbackToggleCountdown(int tick_count) override;
- void PlayEarcon(int sound_key) override;
- base::TimeDelta PlayShutdownSound() const override;
- void HandleAccessibilityGesture(ui::AXGesture gesture) override;
-
- private:
- bool spoken_feedback_enabled_ = false;
- bool high_contrast_enabled_ = false;
- bool screen_magnifier_enabled_ = false;
- MagnifierType screen_magnifier_type_ = kDefaultMagnifierType;
- bool large_cursor_enabled_ = false;
- bool autoclick_enabled_ = false;
- bool virtual_keyboard_enabled_ = false;
- bool mono_audio_enabled_ = false;
- bool caret_highlight_enabled_ = false;
- bool cursor_highlight_enabled_ = false;
- bool focus_highligh_enabled_ = false;
- bool select_to_speak_enabled_ = false;
- bool switch_access_enabled_ = false;
- AccessibilityAlert accessibility_alert_ = A11Y_ALERT_NONE;
- DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_DEFAULT_ACCESSIBILITY_DELEGATE_H_
« no previous file with comments | « ash/common/cast_config_controller.cc ('k') | ash/common/default_accessibility_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698