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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2738173002: Initial containing block for print not affected by page zoom. (Closed)
Patch Set: Missing IncludeScrollbars. Created 3 years, 9 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: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 43e36433b062736fb3c28dc909f7e602b5672b3a..2efbb0f03a99d72a95516ecbb14a4ba7f358b987 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -760,8 +760,14 @@ class CORE_EXPORT FrameView final
IntRect computeVisibleArea();
// Viewport size that should be used for viewport units (i.e. 'vh'/'vw').
+ // May include the size of browser controls. See implementation for further
+ // documentation.
FloatSize viewportSizeForViewportUnits() const;
+ // Initial containing block size for evaluating viewport-dependent media
+ // queries.
+ FloatSize viewportSizeForMediaQueries() const;
+
ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; }
void clearScrollAnchor();
bool shouldPerformScrollAnchoring() const override;
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaValues.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698