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

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

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 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
« no previous file with comments | « content/test/test_render_view_host.h ('k') | services/ui/public/cpp/BUILD.gn » ('j') | 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 <memory> 7 #include <memory>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 void TestRenderWidgetHostView::StopSpeaking() { 209 void TestRenderWidgetHostView::StopSpeaking() {
210 } 210 }
211 211
212 #endif 212 #endif
213 213
214 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { 214 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() {
215 return gfx::Rect(); 215 return gfx::Rect();
216 } 216 }
217 217
218 void TestRenderWidgetHostView::OnSwapCompositorFrame( 218 void TestRenderWidgetHostView::OnSwapCompositorFrame(
219 uint32_t output_surface_id, 219 uint32_t compositor_frame_sink_id,
220 cc::CompositorFrame frame) { 220 cc::CompositorFrame frame) {
221 did_swap_compositor_frame_ = true; 221 did_swap_compositor_frame_ = true;
222 } 222 }
223 223
224 bool TestRenderWidgetHostView::LockMouse() { 224 bool TestRenderWidgetHostView::LockMouse() {
225 return false; 225 return false;
226 } 226 }
227 227
228 void TestRenderWidgetHostView::UnlockMouse() { 228 void TestRenderWidgetHostView::UnlockMouse() {
229 } 229 }
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 351
352 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 352 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
353 return contents()->GetMainFrame(); 353 return contents()->GetMainFrame();
354 } 354 }
355 355
356 TestWebContents* RenderViewHostImplTestHarness::contents() { 356 TestWebContents* RenderViewHostImplTestHarness::contents() {
357 return static_cast<TestWebContents*>(web_contents()); 357 return static_cast<TestWebContents*>(web_contents());
358 } 358 }
359 359
360 } // namespace content 360 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | services/ui/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698