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

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: Add viewportSizeForMediaQueries. 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..f11705f9cf5bbeb50aac6ac6a5d638adb2581e9d 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -761,6 +761,7 @@ class CORE_EXPORT FrameView final
// Viewport size that should be used for viewport units (i.e. 'vh'/'vw').
FloatSize viewportSizeForViewportUnits() const;
+ FloatSize viewportSizeForMediaQueries() const;
ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; }
void clearScrollAnchor();

Powered by Google App Engine
This is Rietveld 408576698