| 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/test/test_render_view_host.h" | 5 #include "content/test/test_render_view_host.h" |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
| 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 10 #include "content/browser/site_instance_impl.h" | 10 #include "content/browser/site_instance_impl.h" |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 return gfx::GLSurfaceHandle(); | 207 return gfx::GLSurfaceHandle(); |
| 208 } | 208 } |
| 209 | 209 |
| 210 bool TestRenderWidgetHostView::LockMouse() { | 210 bool TestRenderWidgetHostView::LockMouse() { |
| 211 return false; | 211 return false; |
| 212 } | 212 } |
| 213 | 213 |
| 214 void TestRenderWidgetHostView::UnlockMouse() { | 214 void TestRenderWidgetHostView::UnlockMouse() { |
| 215 } | 215 } |
| 216 | 216 |
| 217 #if defined(OS_WIN) && defined(USE_AURA) | 217 #if defined(OS_WIN) |
| 218 void TestRenderWidgetHostView::SetParentNativeViewAccessible( | 218 void TestRenderWidgetHostView::SetParentNativeViewAccessible( |
| 219 gfx::NativeViewAccessible accessible_parent) { | 219 gfx::NativeViewAccessible accessible_parent) { |
| 220 } | 220 } |
| 221 | 221 |
| 222 gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin() | 222 gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin() |
| 223 const { | 223 const { |
| 224 return 0; | 224 return 0; |
| 225 } | 225 } |
| 226 #endif | 226 #endif |
| 227 | 227 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 427 |
| 428 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { | 428 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { |
| 429 return static_cast<TestRenderFrameHost*>(main_rfh()); | 429 return static_cast<TestRenderFrameHost*>(main_rfh()); |
| 430 } | 430 } |
| 431 | 431 |
| 432 TestWebContents* RenderViewHostImplTestHarness::contents() { | 432 TestWebContents* RenderViewHostImplTestHarness::contents() { |
| 433 return static_cast<TestWebContents*>(web_contents()); | 433 return static_cast<TestWebContents*>(web_contents()); |
| 434 } | 434 } |
| 435 | 435 |
| 436 } // namespace content | 436 } // namespace content |
| OLD | NEW |