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

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

Issue 2078383004: Add a BrowserViewRenderer unittest for compositor switch logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: 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 5b369d473b8d79adadf209dbe248e27077950836..8354abacc61d5ed0386b25c2c02e46a18972befe 100644
--- a/android_webview/browser/test/rendering_test.h
+++ b/android_webview/browser/test/rendering_test.h
@@ -24,6 +24,7 @@ class CompositorFrame;
}
namespace content {
+class SynchronousCompositor;
class TestSynchronousCompositor;
}
@@ -80,6 +81,7 @@ class RenderingTest : public testing::Test,
void RunTest();
void InitializeCompositor();
void EndTest();
+ content::SynchronousCompositor* compositor() const;
boliu 2016/06/21 17:29:47 add "current" or "active" to the method name
hush (inactive) 2016/06/21 21:27:26 Done.
std::unique_ptr<cc::CompositorFrame> ConstructEmptyFrame();
std::unique_ptr<cc::CompositorFrame> ConstructFrame(
cc::ResourceId resource_id);

Powered by Google App Engine
This is Rietveld 408576698