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_wrapper.h" | 7 #include "content/browser/dom_storage/dom_storage_context_wrapper.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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 205 |
206 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { | 206 gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { |
207 return gfx::GLSurfaceHandle(); | 207 return gfx::GLSurfaceHandle(); |
208 } | 208 } |
209 | 209 |
210 #if defined(OS_WIN) && !defined(USE_AURA) | 210 #if defined(OS_WIN) && !defined(USE_AURA) |
211 void TestRenderWidgetHostView::SetClickthroughRegion(SkRegion* region) { | 211 void TestRenderWidgetHostView::SetClickthroughRegion(SkRegion* region) { |
212 } | 212 } |
213 #endif | 213 #endif |
214 | 214 |
215 #if defined(OS_WIN) && defined(USE_AURA) | |
216 gfx::NativeViewAccessible | |
217 TestRenderWidgetHostView::AccessibleObjectFromChildId(long child_id) { | |
218 NOTIMPLEMENTED(); | |
219 return NULL; | |
220 } | |
221 #endif | |
222 | |
223 bool TestRenderWidgetHostView::LockMouse() { | 215 bool TestRenderWidgetHostView::LockMouse() { |
224 return false; | 216 return false; |
225 } | 217 } |
226 | 218 |
227 void TestRenderWidgetHostView::UnlockMouse() { | 219 void TestRenderWidgetHostView::UnlockMouse() { |
228 } | 220 } |
229 | 221 |
230 #if defined(OS_WIN) && defined(USE_AURA) | 222 #if defined(OS_WIN) && defined(USE_AURA) |
231 void TestRenderWidgetHostView::SetParentNativeViewAccessible( | 223 void TestRenderWidgetHostView::SetParentNativeViewAccessible( |
232 gfx::NativeViewAccessible accessible_parent) { | 224 gfx::NativeViewAccessible accessible_parent) { |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 | 409 |
418 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 410 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
419 return static_cast<TestRenderViewHost*>(active_rvh()); | 411 return static_cast<TestRenderViewHost*>(active_rvh()); |
420 } | 412 } |
421 | 413 |
422 TestWebContents* RenderViewHostImplTestHarness::contents() { | 414 TestWebContents* RenderViewHostImplTestHarness::contents() { |
423 return static_cast<TestWebContents*>(web_contents()); | 415 return static_cast<TestWebContents*>(web_contents()); |
424 } | 416 } |
425 | 417 |
426 } // namespace content | 418 } // namespace content |
OLD | NEW |