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

Unified Diff: third_party/WebKit/Source/core/paint/BoxClipper.h

Issue 1448253002: Clip scrollbars to box bounds when they don't fit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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/paint/BoxClipper.h
diff --git a/third_party/WebKit/Source/core/paint/BoxClipper.h b/third_party/WebKit/Source/core/paint/BoxClipper.h
index 5f06af8db3f489be5d1a2c5bd984bcfbb9469447..d46ebf0fbc6e901b9f1d9b7099543010ef9b700b 100644
--- a/third_party/WebKit/Source/core/paint/BoxClipper.h
+++ b/third_party/WebKit/Source/core/paint/BoxClipper.h
@@ -14,7 +14,11 @@ namespace blink {
class LayoutBox;
struct PaintInfo;
-enum ContentsClipBehavior { ForceContentsClip, SkipContentsClipIfPossible };
+enum ContentsClipBehavior {
+ ForceContentsClip,
+ SkipContentsClipIfPossible,
+ ClipForScrollbars
+};
class BoxClipper {
STACK_ALLOCATED();

Powered by Google App Engine
This is Rietveld 408576698