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

Unified Diff: Source/core/page/FrameView.h

Issue 14874002: Allow frames with overflow:hidden scroll in slow scrolling path when scaled up (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unnecessary changes Created 7 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
Index: Source/core/page/FrameView.h
diff --git a/Source/core/page/FrameView.h b/Source/core/page/FrameView.h
index ce580f756859471add017eb46db9c2fb48607c57..a4da9aa788669b1a3bf38a033846a7bc3d647ab9 100644
--- a/Source/core/page/FrameView.h
+++ b/Source/core/page/FrameView.h
@@ -87,7 +87,6 @@ public:
void setMarginHeight(LayoutUnit);
virtual void setCanHaveScrollbars(bool);
- void updateCanHaveScrollbars();
virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation);
@@ -268,7 +267,12 @@ public:
bool isScrollable();
- enum ScrollbarModesCalculationStrategy { RulesFromWebContentOnly, AnyRule };
+ enum ScrollbarModesCalculationStrategy {
+ RulesFromWebContent = 1 << 0,
+ RulesFromClient = 1 << 1,
+ RulesFromVisibleContentScaleFactor = 1 << 2,
+ AnyRule = -1,
+ };
void calculateScrollbarModesForLayout(ScrollbarMode& hMode, ScrollbarMode& vMode, ScrollbarModesCalculationStrategy = AnyRule);
// Normal delay

Powered by Google App Engine
This is Rietveld 408576698