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

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: comment 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..fc3d799a0d8a6bdd114d97692fc265509d7f442b 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* ActiveCompositor() const;
std::unique_ptr<cc::CompositorFrame> ConstructEmptyFrame();
std::unique_ptr<cc::CompositorFrame> ConstructFrame(
cc::ResourceId resource_id);
« no previous file with comments | « android_webview/browser/browser_view_renderer_unittest.cc ('k') | android_webview/browser/test/rendering_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698