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

Unified Diff: android_webview/browser/test/rendering_test.h

Issue 1769913003: sync compositor: Add output_surface_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nit in test Created 4 years, 9 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
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/browser/test/rendering_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/test/rendering_test.h
diff --git a/android_webview/browser/test/rendering_test.h b/android_webview/browser/test/rendering_test.h
index 0e6fcf1e6d98b3a97c7789381a47b7d9cf643962..8dd6cae30b83ad56b8d5e5cd4fa6208f9d9a2235 100644
--- a/android_webview/browser/test/rendering_test.h
+++ b/android_webview/browser/test/rendering_test.h
@@ -16,6 +16,10 @@ namespace base {
class MessageLoop;
}
+namespace cc {
+class CompositorFrame;
+}
+
namespace content {
class TestSynchronousCompositor;
}
@@ -58,6 +62,7 @@ class RenderingTest : public testing::Test,
void DidDrawOnRT(SharedRendererState* functor) override {}
protected:
+
RenderingTest();
~RenderingTest() override;
@@ -68,7 +73,7 @@ class RenderingTest : public testing::Test,
void InitializeCompositor();
void Attach();
void EndTest();
- void SetCompositorFrame();
+ scoped_ptr<cc::CompositorFrame> ConstructEmptyFrame();
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
scoped_ptr<BrowserViewRenderer> browser_view_renderer_;
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/browser/test/rendering_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698