| 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 <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "ash/caps_lock_delegate_stub.h" | 9 #include "ash/caps_lock_delegate_stub.h" |
| 10 #include "ash/host/root_window_host_factory.h" | 10 #include "ash/host/root_window_host_factory.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 void ShellDelegateImpl::UnlockScreen() { | 72 void ShellDelegateImpl::UnlockScreen() { |
| 73 locked_ = false; | 73 locked_ = false; |
| 74 ash::Shell::GetInstance()->UpdateShelfVisibility(); | 74 ash::Shell::GetInstance()->UpdateShelfVisibility(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool ShellDelegateImpl::IsScreenLocked() const { | 77 bool ShellDelegateImpl::IsScreenLocked() const { |
| 78 return locked_; | 78 return locked_; |
| 79 } | 79 } |
| 80 | 80 |
| 81 void ShellDelegateImpl::OnPreInit() const { |
| 82 } |
| 83 |
| 81 void ShellDelegateImpl::Shutdown() { | 84 void ShellDelegateImpl::Shutdown() { |
| 82 } | 85 } |
| 83 | 86 |
| 84 void ShellDelegateImpl::Exit() { | 87 void ShellDelegateImpl::Exit() { |
| 85 MessageLoopForUI::current()->Quit(); | 88 MessageLoopForUI::current()->Quit(); |
| 86 } | 89 } |
| 87 | 90 |
| 88 void ShellDelegateImpl::NewTab() { | 91 void ShellDelegateImpl::NewTab() { |
| 89 } | 92 } |
| 90 | 93 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 RootWindowHostFactory* ShellDelegateImpl::CreateRootWindowHostFactory() { | 230 RootWindowHostFactory* ShellDelegateImpl::CreateRootWindowHostFactory() { |
| 228 return RootWindowHostFactory::Create(); | 231 return RootWindowHostFactory::Create(); |
| 229 } | 232 } |
| 230 | 233 |
| 231 string16 ShellDelegateImpl::GetProductName() const { | 234 string16 ShellDelegateImpl::GetProductName() const { |
| 232 return string16(); | 235 return string16(); |
| 233 } | 236 } |
| 234 | 237 |
| 235 } // namespace shell | 238 } // namespace shell |
| 236 } // namespace ash | 239 } // namespace ash |
| OLD | NEW |