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

Unified Diff: ash/test/test_shell_delegate.cc

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: rebase, fix interactive_ui_tests 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
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index 57601c1ea45dabc1ba7f70977d9c8432f0a12e45..fc6ff4dd0a83021e1c23188e590076a766dc9f3a 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -17,7 +17,9 @@
namespace ash {
namespace test {
-TestShellDelegate::TestShellDelegate() : locked_(false) {
+TestShellDelegate::TestShellDelegate()
+ : locked_(false),
+ spoken_feedback_enabled_(false) {
}
TestShellDelegate::~TestShellDelegate() {
@@ -78,6 +80,11 @@ content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() {
}
void TestShellDelegate::ToggleSpokenFeedback() {
+ spoken_feedback_enabled_ = !spoken_feedback_enabled_;
+}
+
+bool TestShellDelegate::IsSpokenFeedbackEnabled() const {
+ return spoken_feedback_enabled_;
}
app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() {
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698