Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: content/test/test_render_view_host.cc

Issue 274163004: Remove browser-side tracking of accelerated compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const gfx::Rect& src_subrect, 115 const gfx::Rect& src_subrect,
116 const scoped_refptr<media::VideoFrame>& target, 116 const scoped_refptr<media::VideoFrame>& target,
117 const base::Callback<void(bool)>& callback) { 117 const base::Callback<void(bool)>& callback) {
118 callback.Run(false); 118 callback.Run(false);
119 } 119 }
120 120
121 bool TestRenderWidgetHostView::CanCopyToVideoFrame() const { 121 bool TestRenderWidgetHostView::CanCopyToVideoFrame() const {
122 return false; 122 return false;
123 } 123 }
124 124
125 void TestRenderWidgetHostView::OnAcceleratedCompositingStateChange() {
126 }
127
128 void TestRenderWidgetHostView::AcceleratedSurfaceInitialized(int host_id, 125 void TestRenderWidgetHostView::AcceleratedSurfaceInitialized(int host_id,
129 int route_id) { 126 int route_id) {
130 } 127 }
131 128
132 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped( 129 void TestRenderWidgetHostView::AcceleratedSurfaceBuffersSwapped(
133 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 130 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
134 int gpu_host_id) { 131 int gpu_host_id) {
135 } 132 }
136 133
137 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer( 134 void TestRenderWidgetHostView::AcceleratedSurfacePostSubBuffer(
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 386
390 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 387 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
391 return static_cast<TestRenderFrameHost*>(main_rfh()); 388 return static_cast<TestRenderFrameHost*>(main_rfh());
392 } 389 }
393 390
394 TestWebContents* RenderViewHostImplTestHarness::contents() { 391 TestWebContents* RenderViewHostImplTestHarness::contents() {
395 return static_cast<TestWebContents*>(web_contents()); 392 return static_cast<TestWebContents*>(web_contents());
396 } 393 }
397 394
398 } // namespace content 395 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698