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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 511253003: Made Blink aware of top controls offset (Chromium-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash + mojo example build break Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/web_layer_tree_view_impl_for_testing.cc
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
index e183c2aa7ebd2f1855fc3e770ff61b1d8ae4b3af..ffe67d780eaebeb1f7e3bcd2080d80e16fad614d 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -137,9 +137,10 @@ void WebLayerTreeViewImplForTesting::setDeferCommits(bool defer_commits) {
void WebLayerTreeViewImplForTesting::Layout() {
}
-void WebLayerTreeViewImplForTesting::ApplyScrollAndScale(
+void WebLayerTreeViewImplForTesting::ApplyViewportDeltas(
const gfx::Vector2d& scroll_delta,
- float page_scale) {}
+ float page_scale,
+ float top_controls_delta) {}
scoped_ptr<cc::OutputSurface>
WebLayerTreeViewImplForTesting::CreateOutputSurface(bool fallback) {
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698