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

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

Issue 2894823002: Clean up blink::FrameView::ForceLayoutForPagination().
Patch Set: cleanup Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32f6a9dfea394b49053edd465a881117538dcb5b..9bd0c2fd7746590e5919cad316a91e6fd63460a1 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -892,7 +892,7 @@ class CORE_EXPORT FrameView final
void DeprecatedInvalidateTree(const PaintInvalidationState&);
private:
- explicit FrameView(LocalFrame&, IntRect);
+ FrameView(LocalFrame&, IntRect);
class ScrollbarManager : public blink::ScrollbarManager {
DISALLOW_NEW();
@@ -1062,6 +1062,11 @@ class CORE_EXPORT FrameView final
bool CheckLayoutInvalidationIsAllowed() const;
+ // Returns true if AdjustViewSizeAndLayout() has been called.
+ bool ForceLayoutForPaginationHelper(const FloatSize& page_size,
+ const FloatSize& original_page_size,
+ float maximum_shrink_factor);
+
PaintController* GetPaintController() { return paint_controller_.get(); }
LayoutSize size_;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698