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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2162083005: Use surface copy requests for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: danakj nits, inc. using raw ptr Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 83d8d99096417a8837ab7fbe84129aca3a446fb1..a76bcbb42085bbfaa3e8bc1746909fc760fbf4bd 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -239,6 +239,10 @@ class CONTENT_EXPORT RenderThreadImpl
scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue,
const GURL& url);
+ std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest(
+ int32_t routing_id,
+ std::unique_ptr<cc::CopyOutputRequest> request);
+
// True if we are running layout tests. This currently disables forwarding
// various status messages to the console, skips network error pages, and
// short circuits size update and focus events.

Powered by Google App Engine
This is Rietveld 408576698