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

Unified Diff: ash/test/test_shell_delegate.h

Issue 10543158: Do not toggle Applist with Search key press when accessibility is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/test/test_shell_delegate.h
diff --git a/ash/test/test_shell_delegate.h b/ash/test/test_shell_delegate.h
index a69642dc33f56ed8c96aee44146761483bcc3d4e..4223a15829bdb4429704dfaa96524e7a380a8350 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -22,6 +22,7 @@ class TestShellDelegate : public ShellDelegate {
virtual void LockScreen() OVERRIDE;
virtual void UnlockScreen() OVERRIDE;
virtual bool IsScreenLocked() const OVERRIDE;
+ virtual bool IsSpokenFeedbackEnabled() const OVERRIDE;
virtual void Shutdown() OVERRIDE;
virtual void Exit() OVERRIDE;
virtual void NewTab() OVERRIDE;
@@ -44,8 +45,13 @@ class TestShellDelegate : public ShellDelegate {
virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
+ void set_spoken_feedback_enabled(bool enabled) {
+ spoken_feedback_enabled_ = enabled;
+ }
+
private:
bool locked_;
+ bool spoken_feedback_enabled_;
DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698