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

Unified Diff: ash/default_accessibility_delegate.h

Issue 2048443002: ABANDONED: mash: Move shell delegate interfaces to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfmodel
Patch Set: Created 4 years, 6 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
Index: ash/default_accessibility_delegate.h
diff --git a/ash/default_accessibility_delegate.h b/ash/default_accessibility_delegate.h
deleted file mode 100644
index 6bde1087b47a93e7cc7fc4fbaf60340989b053e3..0000000000000000000000000000000000000000
--- a/ash/default_accessibility_delegate.h
+++ /dev/null
@@ -1,78 +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_DEFAULT_ACCESSIBILITY_DELEGATE_H_
-#define ASH_DEFAULT_ACCESSIBILITY_DELEGATE_H_
-
-#include "ash/accessibility_delegate.h"
-#include "ash/ash_export.h"
-#include "base/compiler_specific.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(ui::MagnifierType type) override;
- bool IsMagnifierEnabled() const override;
- ui::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 ToggleSpokenFeedback(
- ui::AccessibilityNotificationVisibility notify) override;
- void SaveScreenMagnifierScale(double scale) override;
- double GetSavedScreenMagnifierScale() override;
- void TriggerAccessibilityAlert(ui::AccessibilityAlert alert) override;
- ui::AccessibilityAlert GetLastAccessibilityAlert() 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;
- ui::MagnifierType screen_magnifier_type_ = ui::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;
- ui::AccessibilityAlert accessibility_alert_ = ui::A11Y_ALERT_NONE;
- DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
-};
-
-} // namespace ash
-
-#endif // DEFAULT_ACCESSIBILITY_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698