| 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/host/root_window_host_factory.h" | 10 #include "ash/host/root_window_host_factory.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void TestShellDelegate::RestoreTab() { | 103 void TestShellDelegate::RestoreTab() { |
| 104 } | 104 } |
| 105 | 105 |
| 106 bool TestShellDelegate::RotatePaneFocus(Shell::Direction direction) { | 106 bool TestShellDelegate::RotatePaneFocus(Shell::Direction direction) { |
| 107 return true; | 107 return true; |
| 108 } | 108 } |
| 109 | 109 |
| 110 void TestShellDelegate::ShowKeyboardOverlay() { | 110 void TestShellDelegate::ShowKeyboardOverlay() { |
| 111 } | 111 } |
| 112 | 112 |
| 113 keyboard::KeyboardControllerProxy* |
| 114 TestShellDelegate::CreateKeyboardControllerProxy() { |
| 115 return NULL; |
| 116 } |
| 117 |
| 113 void TestShellDelegate::ShowTaskManager() { | 118 void TestShellDelegate::ShowTaskManager() { |
| 114 } | 119 } |
| 115 | 120 |
| 116 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { | 121 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { |
| 117 current_browser_context_.reset(new content::TestBrowserContext()); | 122 current_browser_context_.reset(new content::TestBrowserContext()); |
| 118 return current_browser_context_.get(); | 123 return current_browser_context_.get(); |
| 119 } | 124 } |
| 120 | 125 |
| 121 void TestShellDelegate::ToggleSpokenFeedback( | 126 void TestShellDelegate::ToggleSpokenFeedback( |
| 122 AccessibilityNotificationVisibility notify) { | 127 AccessibilityNotificationVisibility notify) { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 can_lock_screen_ = can_lock_screen; | 239 can_lock_screen_ = can_lock_screen; |
| 235 } | 240 } |
| 236 | 241 |
| 237 string16 TestShellDelegate::GetProductName() const { | 242 string16 TestShellDelegate::GetProductName() const { |
| 238 return string16(); | 243 return string16(); |
| 239 } | 244 } |
| 240 | 245 |
| 241 | 246 |
| 242 } // namespace test | 247 } // namespace test |
| 243 } // namespace ash | 248 } // namespace ash |
| OLD | NEW |