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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollTypes.h

Issue 2623213002: Expand PaintLayer clip to account for hidden URL bar with document.rootScroller (Closed)
Patch Set: Rebase Created 3 years, 11 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/platform/scroll/ScrollTypes.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollTypes.h b/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
index 32d22c8071fd1e62bd29df498131f24396e2de42..b800eaf3f715ae9db7cabd386eb0cf56fdd331ec 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
@@ -70,6 +70,11 @@ enum ScrollType {
AnchoringScroll
};
+enum IncludeScrollbarsInRect {
+ ExcludeScrollbars,
+ IncludeScrollbars,
+};
+
inline bool scrollTypeClearsFragmentAnchor(ScrollType scrollType) {
return scrollType == UserScroll || scrollType == ProgrammaticScroll ||
scrollType == CompositorScroll;

Powered by Google App Engine
This is Rietveld 408576698