Commit 9362448d authored by Kevin Schoedel's avatar Kevin Schoedel Committed by Commit Bot

[chromecast] Remove obsolete accessibility_sound_delegate.h

Final cleanup after https://crrev.com/581931

Bug: internal b/73383411
Test: manual
Change-Id: I9407ebbaa7b189bf3b71aa1700451198ec5c5810
Reviewed-on: https://chromium-review.googlesource.com/1169586Reviewed-by: default avatarAlex Sakhartchouk <alexst@chromium.org>
Commit-Queue: Kevin Schoedel <kpschoedel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583062}
parent 6a49ef0e
...@@ -289,7 +289,6 @@ cast_source_set("browser") { ...@@ -289,7 +289,6 @@ cast_source_set("browser") {
sources += [ sources += [
"accessibility/accessibility_manager.cc", "accessibility/accessibility_manager.cc",
"accessibility/accessibility_manager.h", "accessibility/accessibility_manager.h",
"accessibility/accessibility_sound_delegate.h",
"accessibility/accessibility_sound_player.h", "accessibility/accessibility_sound_player.h",
"accessibility/accessibility_sound_proxy.h", "accessibility/accessibility_sound_proxy.h",
"accessibility/accessibility_sound_proxy.cc", "accessibility/accessibility_sound_proxy.cc",
......
...@@ -77,10 +77,6 @@ void AccessibilityManager::SetScreenReader(bool enable) { ...@@ -77,10 +77,6 @@ void AccessibilityManager::SetScreenReader(bool enable) {
touch_exploration_manager_->Enable(enable); touch_exploration_manager_->Enable(enable);
} }
void AccessibilityManager::EnableTouchExploration(bool enable) {
SetScreenReader(enable);
}
void AccessibilityManager::SetTouchAccessibilityAnchorPoint( void AccessibilityManager::SetTouchAccessibilityAnchorPoint(
const gfx::Point& anchor_point) { const gfx::Point& anchor_point) {
touch_exploration_manager_->SetTouchAccessibilityAnchorPoint(anchor_point); touch_exploration_manager_->SetTouchAccessibilityAnchorPoint(anchor_point);
......
...@@ -60,10 +60,6 @@ class AccessibilityManager : public TripleTapDetectorDelegate { ...@@ -60,10 +60,6 @@ class AccessibilityManager : public TripleTapDetectorDelegate {
// Enable or disable screen reader support, including touch exploration. // Enable or disable screen reader support, including touch exploration.
void SetScreenReader(bool enable); void SetScreenReader(bool enable);
// TODO(kpschoedel): remove once AccessibilityServiceImpl::SetScreenReader()
// changes to call SetScreenReader() here.
void EnableTouchExploration(bool enable);
// Update the touch exploration controller so that synthesized // Update the touch exploration controller so that synthesized
// touch events are anchored at this point. // touch events are anchored at this point.
void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point); void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point);
...@@ -84,13 +80,6 @@ class AccessibilityManager : public TripleTapDetectorDelegate { ...@@ -84,13 +80,6 @@ class AccessibilityManager : public TripleTapDetectorDelegate {
void SetAccessibilitySoundPlayer( void SetAccessibilitySoundPlayer(
std::unique_ptr<AccessibilitySoundPlayer> player); std::unique_ptr<AccessibilitySoundPlayer> player);
// Sets the delegate for earcons.
// TODO(kpschoedel) remove when caller has changed.
void SetAccessibilitySoundDelegate(
std::unique_ptr<AccessibilitySoundPlayer> player) {
SetAccessibilitySoundPlayer(std::move(player));
}
private: private:
aura::WindowTreeHost* window_tree_host_; aura::WindowTreeHost* window_tree_host_;
......
// Copyright 2018 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.
// TODO(kpschoedel) remove this file when dependencies have changed.
#ifndef CHROMECAST_BROWSER_ACCESSIBILITY_ACCESSIBILITY_SOUND_DELEGATE_H_
#define CHROMECAST_BROWSER_ACCESSIBILITY_ACCESSIBILITY_SOUND_DELEGATE_H_
#include "chromecast/browser/accessibility/accessibility_sound_player.h"
namespace chromecast {
namespace shell {
using AccessibilitySoundDelegate = AccessibilitySoundPlayer;
} // namespace shell
} // namespace chromecast
#endif // CHROMECAST_BROWSER_ACCESSIBILITY_ACCESSIBILITY_SOUND_DELEGATE_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment