| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 void TestRenderWidgetHostView::AcceleratedSurfaceSetTransportDIB( | 169 void TestRenderWidgetHostView::AcceleratedSurfaceSetTransportDIB( |
| 170 gfx::PluginWindowHandle window, | 170 gfx::PluginWindowHandle window, |
| 171 int32 width, | 171 int32 width, |
| 172 int32 height, | 172 int32 height, |
| 173 TransportDIB::Handle transport_dib) { | 173 TransportDIB::Handle transport_dib) { |
| 174 } | 174 } |
| 175 | 175 |
| 176 #elif defined(OS_WIN) && !defined(USE_AURA) | 176 #elif defined(OS_WIN) && !defined(USE_AURA) |
| 177 void TestRenderWidgetHostView::WillWmDestroy() { | 177 void TestRenderWidgetHostView::WillWmDestroy() { |
| 178 } | 178 } |
| 179 #endif |
| 179 | 180 |
| 181 #if defined(OS_ANDROID) |
| 182 void TestRenderWidgetHostView::StartContentIntent(const GURL&) {} |
| 180 #endif | 183 #endif |
| 181 | 184 |
| 182 #if defined(OS_POSIX) || defined(USE_AURA) | 185 #if defined(OS_POSIX) || defined(USE_AURA) |
| 183 gfx::Rect TestRenderWidgetHostView::GetRootWindowBounds() { | 186 gfx::Rect TestRenderWidgetHostView::GetRootWindowBounds() { |
| 184 return gfx::Rect(); | 187 return gfx::Rect(); |
| 185 } | 188 } |
| 186 #endif | 189 #endif |
| 187 | 190 |
| 188 #if defined(TOOLKIT_GTK) | 191 #if defined(TOOLKIT_GTK) |
| 189 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { | 192 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 | 333 |
| 331 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 334 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
| 332 return static_cast<TestRenderViewHost*>(active_rvh()); | 335 return static_cast<TestRenderViewHost*>(active_rvh()); |
| 333 } | 336 } |
| 334 | 337 |
| 335 TestWebContents* RenderViewHostImplTestHarness::contents() { | 338 TestWebContents* RenderViewHostImplTestHarness::contents() { |
| 336 return static_cast<TestWebContents*>(web_contents()); | 339 return static_cast<TestWebContents*>(web_contents()); |
| 337 } | 340 } |
| 338 | 341 |
| 339 } // namespace content | 342 } // namespace content |
| OLD | NEW |