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/dom_storage/dom_storage_context_impl.h" | 6 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
7 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 7 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
8 #include "content/browser/renderer_host/test_render_view_host.h" | 8 #include "content/browser/renderer_host/test_render_view_host.h" |
9 #include "content/browser/site_instance_impl.h" | 9 #include "content/browser/site_instance_impl.h" |
10 #include "content/browser/web_contents/navigation_controller_impl.h" | 10 #include "content/browser/web_contents/navigation_controller_impl.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 BackingStore* TestRenderWidgetHostView::AllocBackingStore( | 113 BackingStore* TestRenderWidgetHostView::AllocBackingStore( |
114 const gfx::Size& size) { | 114 const gfx::Size& size) { |
115 return new TestBackingStore(rwh_, size); | 115 return new TestBackingStore(rwh_, size); |
116 } | 116 } |
117 | 117 |
118 void TestRenderWidgetHostView::CopyFromCompositingSurface( | 118 void TestRenderWidgetHostView::CopyFromCompositingSurface( |
119 const gfx::Rect& src_subrect, | 119 const gfx::Rect& src_subrect, |
120 const gfx::Size& dst_size, | 120 const gfx::Size& dst_size, |
121 const base::Callback<void(bool)>& callback, | 121 const base::Callback<void(bool)>& callback, |
122 skia::PlatformCanvas* output) { | 122 skia::PlatformBitmap* output) { |
123 callback.Run(false); | 123 callback.Run(false); |
124 } | 124 } |
125 | 125 |
126 void TestRenderWidgetHostView::OnAcceleratedCompositingStateChange() { | 126 void TestRenderWidgetHostView::OnAcceleratedCompositingStateChange() { |
127 } | 127 } |
128 | 128 |
129 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped( | 129 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped( |
130 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 130 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
131 int gpu_host_id) { | 131 int gpu_host_id) { |
132 } | 132 } |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 | 380 |
381 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 381 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
382 return static_cast<TestRenderViewHost*>(active_rvh()); | 382 return static_cast<TestRenderViewHost*>(active_rvh()); |
383 } | 383 } |
384 | 384 |
385 TestWebContents* RenderViewHostImplTestHarness::contents() { | 385 TestWebContents* RenderViewHostImplTestHarness::contents() { |
386 return static_cast<TestWebContents*>(web_contents()); | 386 return static_cast<TestWebContents*>(web_contents()); |
387 } | 387 } |
388 | 388 |
389 } // namespace content | 389 } // namespace content |
OLD | NEW |