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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate_views.cc

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: Created 6 years, 2 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: chrome/browser/ui/ash/chrome_shell_delegate_views.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_views.cc b/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
index 8423df8505155e97268f3a541bbf0bc748c041b6..38b13433ca09b7c0f2cca657ed3787325fc00b89 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
@@ -7,7 +7,6 @@
#include <vector>
#include "ash/accessibility_delegate.h"
-#include "ash/magnifier/magnifier_constants.h"
#include "ash/media_delegate.h"
#include "ash/wm/window_util.h"
#include "base/command_line.h"
@@ -33,6 +32,7 @@
#include "chrome/browser/ui/startup/startup_browser_creator_impl.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/browser/notification_service.h"
+#include "ui/chromeos/accessibility_types.h"
namespace {
@@ -78,7 +78,7 @@ class EmptyAccessibilityDelegate : public ash::AccessibilityDelegate {
bool IsSpokenFeedbackEnabled() const override { return false; }
void ToggleSpokenFeedback(
- ash::AccessibilityNotificationVisibility notify) override {}
+ ui::AccessibilityNotificationVisibility notify) override {}
void SetLargeCursorEnabled(bool enalbed) override {}
@@ -86,7 +86,7 @@ class EmptyAccessibilityDelegate : public ash::AccessibilityDelegate {
void SetMagnifierEnabled(bool enabled) override {}
- void SetMagnifierType(ash::MagnifierType type) override {}
+ void SetMagnifierType(ui::MagnifierType type) override {}
bool IsMagnifierEnabled() const override { return false; }
@@ -94,8 +94,8 @@ class EmptyAccessibilityDelegate : public ash::AccessibilityDelegate {
bool IsAutoclickEnabled() const override { return false; }
- ash::MagnifierType GetMagnifierType() const override {
- return ash::kDefaultMagnifierType;
+ ui::MagnifierType GetMagnifierType() const override {
+ return ui::kDefaultMagnifierType;
}
void SaveScreenMagnifierScale(double scale) override {}
@@ -114,10 +114,10 @@ class EmptyAccessibilityDelegate : public ash::AccessibilityDelegate {
bool IsVirtualKeyboardEnabled() const override { return false; }
- void TriggerAccessibilityAlert(ash::AccessibilityAlert alert) override {}
+ void TriggerAccessibilityAlert(ui::AccessibilityAlert alert) override {}
- ash::AccessibilityAlert GetLastAccessibilityAlert() override {
- return ash::A11Y_ALERT_NONE;
+ ui::AccessibilityAlert GetLastAccessibilityAlert() override {
+ return ui::A11Y_ALERT_NONE;
}
void PlayEarcon(int sound_key) override {}
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698