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 "content/browser/renderer_host/test_backing_store.h" | 5 #include "content/browser/renderer_host/test_backing_store.h" |
6 #include "content/browser/renderer_host/test_render_view_host.h" | 6 #include "content/browser/renderer_host/test_render_view_host.h" |
7 #include "content/browser/site_instance_impl.h" | 7 #include "content/browser/site_instance_impl.h" |
8 #include "content/browser/web_contents/navigation_controller_impl.h" | 8 #include "content/browser/web_contents/navigation_controller_impl.h" |
9 #include "content/browser/web_contents/test_web_contents.h" | 9 #include "content/browser/web_contents/test_web_contents.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 #if defined(OS_MACOSX) | 131 #if defined(OS_MACOSX) |
132 | 132 |
133 void TestRenderWidgetHostView::AboutToWaitForBackingStoreMsg() { | 133 void TestRenderWidgetHostView::AboutToWaitForBackingStoreMsg() { |
134 } | 134 } |
135 | 135 |
136 void TestRenderWidgetHostView::SetActive(bool active) { | 136 void TestRenderWidgetHostView::SetActive(bool active) { |
137 // <viettrungluu@gmail.com>: Do I need to do anything here? | 137 // <viettrungluu@gmail.com>: Do I need to do anything here? |
138 } | 138 } |
139 | 139 |
| 140 bool TestRenderWidgetHostView::SupportsSpeech() const { |
| 141 return false; |
| 142 } |
| 143 |
| 144 void TestRenderWidgetHostView::SpeakSelection() { |
| 145 } |
| 146 |
| 147 bool TestRenderWidgetHostView::IsSpeaking() const { |
| 148 return false; |
| 149 } |
| 150 |
| 151 void TestRenderWidgetHostView::StopSpeaking() { |
| 152 } |
| 153 |
140 void TestRenderWidgetHostView::PluginFocusChanged(bool focused, | 154 void TestRenderWidgetHostView::PluginFocusChanged(bool focused, |
141 int plugin_id) { | 155 int plugin_id) { |
142 } | 156 } |
143 | 157 |
144 void TestRenderWidgetHostView::StartPluginIme() { | 158 void TestRenderWidgetHostView::StartPluginIme() { |
145 } | 159 } |
146 | 160 |
147 bool TestRenderWidgetHostView::PostProcessEventForPluginIme( | 161 bool TestRenderWidgetHostView::PostProcessEventForPluginIme( |
148 const NativeWebKeyboardEvent& event) { | 162 const NativeWebKeyboardEvent& event) { |
149 return false; | 163 return false; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 351 |
338 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 352 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
339 return static_cast<TestRenderViewHost*>(active_rvh()); | 353 return static_cast<TestRenderViewHost*>(active_rvh()); |
340 } | 354 } |
341 | 355 |
342 TestWebContents* RenderViewHostImplTestHarness::contents() { | 356 TestWebContents* RenderViewHostImplTestHarness::contents() { |
343 return static_cast<TestWebContents*>(web_contents()); | 357 return static_cast<TestWebContents*>(web_contents()); |
344 } | 358 } |
345 | 359 |
346 } // namespace content | 360 } // namespace content |
OLD | NEW |