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/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
8 #include "ash/default_accessibility_delegate.h" | 8 #include "ash/default_accessibility_delegate.h" |
9 #include "ash/default_user_wallpaper_delegate.h" | 9 #include "ash/default_user_wallpaper_delegate.h" |
10 #include "ash/gpu_support_stub.h" | 10 #include "ash/gpu_support_stub.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 return false; | 94 return false; |
95 } | 95 } |
96 | 96 |
97 bool ShellDelegateImpl::IsRunningInForcedAppMode() const { | 97 bool ShellDelegateImpl::IsRunningInForcedAppMode() const { |
98 return false; | 98 return false; |
99 } | 99 } |
100 | 100 |
101 void ShellDelegateImpl::PreInit() { | 101 void ShellDelegateImpl::PreInit() { |
102 } | 102 } |
103 | 103 |
104 void ShellDelegateImpl::Shutdown() { | 104 void ShellDelegateImpl::PreShutdown() { |
105 } | 105 } |
106 | 106 |
107 void ShellDelegateImpl::Exit() { | 107 void ShellDelegateImpl::Exit() { |
108 base::MessageLoopForUI::current()->Quit(); | 108 base::MessageLoopForUI::current()->Quit(); |
109 } | 109 } |
110 | 110 |
111 keyboard::KeyboardControllerProxy* | 111 keyboard::KeyboardControllerProxy* |
112 ShellDelegateImpl::CreateKeyboardControllerProxy() { | 112 ShellDelegateImpl::CreateKeyboardControllerProxy() { |
113 return new KeyboardControllerProxyStub(); | 113 return new KeyboardControllerProxyStub(); |
114 } | 114 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Real GPU support depends on src/content, so just use a stub. | 165 // Real GPU support depends on src/content, so just use a stub. |
166 return new GPUSupportStub; | 166 return new GPUSupportStub; |
167 } | 167 } |
168 | 168 |
169 base::string16 ShellDelegateImpl::GetProductName() const { | 169 base::string16 ShellDelegateImpl::GetProductName() const { |
170 return base::string16(); | 170 return base::string16(); |
171 } | 171 } |
172 | 172 |
173 } // namespace shell | 173 } // namespace shell |
174 } // namespace ash | 174 } // namespace ash |
OLD | NEW |