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

Unified Diff: content/renderer/render_view_impl.h

Issue 1844013002: Fix main thread top controls scrolling to mirror CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propertyTreesBoundsDelta
Patch Set: aelias@ review: moved combined resize into WebView Created 4 years, 8 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_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index c3688b5650394ce5aed1e646331ca3289374778f..9563233b78e8838514ef9afed735ade75841e219 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -863,6 +863,13 @@ class CONTENT_EXPORT RenderViewImpl
TopControlsState top_controls_constraints_;
#endif
+ // Whether or not Blink's viewport size should be shrunk by the height of the
+ // URL-bar.
+ bool top_controls_shrink_blink_size_;
+
+ // The height of the top controls.
+ float top_controls_height_;
+
// Indicates whether this page has been focused/unfocused by the browser.
bool has_focus_;

Powered by Google App Engine
This is Rietveld 408576698