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

Unified Diff: ash/shell/shell_delegate_impl.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: merge similar functions 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/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 661aa515b9ee2a741b17e05e7f29d17b01df8e94..bc3f30d6a9a6f5e8ae66c6773cd1d768ebdc79ef 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -18,7 +18,8 @@ namespace shell {
ShellDelegateImpl::ShellDelegateImpl()
: watcher_(NULL),
launcher_delegate_(NULL),
- locked_(false) {
+ locked_(false),
+ spoken_feedback_enabled_(false) {
}
ShellDelegateImpl::~ShellDelegateImpl() {
@@ -93,6 +94,11 @@ content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() {
}
void ShellDelegateImpl::ToggleSpokenFeedback() {
+ spoken_feedback_enabled_ = !spoken_feedback_enabled_;
dmazzoni 2012/06/14 16:45:25 This worries me slightly, I'm afraid it could get
Yusuke Sato 2012/06/14 16:57:15 If I understand correctly, ash/shell/* files are j
dmazzoni 2012/06/14 17:05:00 Ah! Thanks, I didn't realize that. Looks good. -
+}
+
+bool ShellDelegateImpl::IsSpokenFeedbackEnabled() const {
+ return spoken_feedback_enabled_;
}
app_list::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() {
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698