| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include "ash/shell/example_factory.h" | 7 #include "ash/shell/example_factory.h" |
| 8 #include "ash/shell/launcher_delegate_impl.h" | 8 #include "ash/shell/launcher_delegate_impl.h" |
| 9 #include "ash/shell/toplevel_window.h" | 9 #include "ash/shell/toplevel_window.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 void ShellDelegateImpl::UnlockScreen() { | 43 void ShellDelegateImpl::UnlockScreen() { |
| 44 locked_ = false; | 44 locked_ = false; |
| 45 ash::Shell::GetInstance()->UpdateShelfVisibility(); | 45 ash::Shell::GetInstance()->UpdateShelfVisibility(); |
| 46 } | 46 } |
| 47 | 47 |
| 48 bool ShellDelegateImpl::IsScreenLocked() const { | 48 bool ShellDelegateImpl::IsScreenLocked() const { |
| 49 return locked_; | 49 return locked_; |
| 50 } | 50 } |
| 51 | 51 |
| 52 bool ShellDelegateImpl::IsSpokenFeedbackEnabled() const { |
| 53 return false; |
| 54 } |
| 55 |
| 52 void ShellDelegateImpl::Shutdown() { | 56 void ShellDelegateImpl::Shutdown() { |
| 53 } | 57 } |
| 54 | 58 |
| 55 void ShellDelegateImpl::Exit() { | 59 void ShellDelegateImpl::Exit() { |
| 56 MessageLoopForUI::current()->Quit(); | 60 MessageLoopForUI::current()->Quit(); |
| 57 } | 61 } |
| 58 | 62 |
| 59 void ShellDelegateImpl::NewTab() { | 63 void ShellDelegateImpl::NewTab() { |
| 60 } | 64 } |
| 61 | 65 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 121 |
| 118 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { | 122 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { |
| 119 return NULL; | 123 return NULL; |
| 120 } | 124 } |
| 121 aura::client::UserActionClient* ShellDelegateImpl::CreateUserActionClient() { | 125 aura::client::UserActionClient* ShellDelegateImpl::CreateUserActionClient() { |
| 122 return NULL; | 126 return NULL; |
| 123 } | 127 } |
| 124 | 128 |
| 125 } // namespace shell | 129 } // namespace shell |
| 126 } // namespace ash | 130 } // namespace ash |
| OLD | NEW |