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

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: Build fix after rebase 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index b28904316284ab52cca3c9d1210cf1fd767a1e62..fe284de173b6420ee9cddcb673a9c87776f8333a 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -472,6 +472,7 @@ class CONTENT_EXPORT RenderViewImpl
void DidCommitCompositorFrame() override;
void DidCompletePageScaleAnimation() override;
void OnDeviceScaleFactorChanged() override;
+ void ResizeWebWidget() override;
RenderViewImpl(CompositorDependencies* compositor_deps,
const ViewMsg_New_Params& params);
@@ -854,6 +855,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_;
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698