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/test/test_shell_delegate.h" | 5 #include "ash/test/test_shell_delegate.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/default_accessibility_delegate.h" | 10 #include "ash/default_accessibility_delegate.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void TestShellDelegate::PreInit() { | 66 void TestShellDelegate::PreInit() { |
67 } | 67 } |
68 | 68 |
69 void TestShellDelegate::Shutdown() { | 69 void TestShellDelegate::Shutdown() { |
70 } | 70 } |
71 | 71 |
72 void TestShellDelegate::Exit() { | 72 void TestShellDelegate::Exit() { |
73 num_exit_requests_++; | 73 num_exit_requests_++; |
74 } | 74 } |
75 | 75 |
76 void TestShellDelegate::ToggleFullscreen() { | |
77 } | |
78 | |
79 keyboard::KeyboardControllerProxy* | 76 keyboard::KeyboardControllerProxy* |
80 TestShellDelegate::CreateKeyboardControllerProxy() { | 77 TestShellDelegate::CreateKeyboardControllerProxy() { |
81 return new KeyboardControllerProxyStub(); | 78 return new KeyboardControllerProxyStub(); |
82 } | 79 } |
83 | 80 |
84 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { | 81 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { |
85 current_browser_context_.reset(new content::TestBrowserContext()); | 82 current_browser_context_.reset(new content::TestBrowserContext()); |
86 return current_browser_context_.get(); | 83 return current_browser_context_.get(); |
87 } | 84 } |
88 | 85 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 base::string16 TestShellDelegate::GetProductName() const { | 149 base::string16 TestShellDelegate::GetProductName() const { |
153 return base::string16(); | 150 return base::string16(); |
154 } | 151 } |
155 | 152 |
156 TestSessionStateDelegate* TestShellDelegate::test_session_state_delegate() { | 153 TestSessionStateDelegate* TestShellDelegate::test_session_state_delegate() { |
157 return test_session_state_delegate_; | 154 return test_session_state_delegate_; |
158 } | 155 } |
159 | 156 |
160 } // namespace test | 157 } // namespace test |
161 } // namespace ash | 158 } // namespace ash |
OLD | NEW |