| 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_render_view_host.h" | 5 #include "content/browser/renderer_host/test_render_view_host.h" |
| 6 | 6 |
| 7 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 7 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
| 8 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 8 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 9 #include "content/browser/renderer_host/test_backing_store.h" | 9 #include "content/browser/renderer_host/test_backing_store.h" |
| 10 #include "content/browser/site_instance_impl.h" | 10 #include "content/browser/site_instance_impl.h" |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { | 203 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { |
| 204 return NULL; | 204 return NULL; |
| 205 } | 205 } |
| 206 | 206 |
| 207 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { | 207 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { |
| 208 return NULL; | 208 return NULL; |
| 209 } | 209 } |
| 210 #endif // defined(TOOLKIT_GTK) | 210 #endif // defined(TOOLKIT_GTK) |
| 211 | 211 |
| 212 void TestRenderWidgetHostView::OnSwapCompositorFrame( | 212 void TestRenderWidgetHostView::OnSwapCompositorFrame( |
| 213 uint32 output_surface_id, |
| 213 scoped_ptr<cc::CompositorFrame> frame) { | 214 scoped_ptr<cc::CompositorFrame> frame) { |
| 214 did_swap_compositor_frame_ = true; | 215 did_swap_compositor_frame_ = true; |
| 215 } | 216 } |
| 216 | 217 |
| 217 | 218 |
| 218 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { | 219 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { |
| 219 return gfx::GLSurfaceHandle(); | 220 return gfx::GLSurfaceHandle(); |
| 220 } | 221 } |
| 221 | 222 |
| 222 #if defined(OS_WIN) && !defined(USE_AURA) | 223 #if defined(OS_WIN) && !defined(USE_AURA) |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 425 |
| 425 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 426 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
| 426 return static_cast<TestRenderViewHost*>(active_rvh()); | 427 return static_cast<TestRenderViewHost*>(active_rvh()); |
| 427 } | 428 } |
| 428 | 429 |
| 429 TestWebContents* RenderViewHostImplTestHarness::contents() { | 430 TestWebContents* RenderViewHostImplTestHarness::contents() { |
| 430 return static_cast<TestWebContents*>(web_contents()); | 431 return static_cast<TestWebContents*>(web_contents()); |
| 431 } | 432 } |
| 432 | 433 |
| 433 } // namespace content | 434 } // namespace content |
| OLD | NEW |