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

Unified Diff: content/renderer/render_widget.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 | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 5e0c81da71d162a009ffe48472c3ab8b000d9564..e7eea25d4df918fcb887abbc90fab8659010a935 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -410,6 +410,9 @@ class CONTENT_EXPORT RenderWidget
void DoDeferredClose();
void NotifyOnClose();
+ gfx::Size GetSizeForWebWidget() const;
+ virtual void ResizeWebWidget();
+
// Close the underlying WebWidget.
virtual void Close();
@@ -599,14 +602,6 @@ class CONTENT_EXPORT RenderWidget
// The size of the view's backing surface in non-DPI-adjusted pixels.
gfx::Size physical_backing_size_;
- // Whether or not Blink's viewport size should be shrunk by the height of the
- // URL-bar (always false on platforms where URL-bar hiding isn't supported).
- bool top_controls_shrink_blink_size_;
-
- // The height of the top controls (always 0 on platforms where URL-bar hiding
- // isn't supported).
- float top_controls_height_;
-
// The size of the visible viewport in DPI-adjusted pixels.
gfx::Size visible_viewport_size_;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698