Chromium Code Reviews| 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() { |