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

Unified Diff: Source/platform/graphics/CompositingReasons.h

Issue 303253004: Allow proper highlighting on universal overflow scroll. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations Created 6 years, 6 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/platform/graphics/CompositingReasons.h
diff --git a/Source/platform/graphics/CompositingReasons.h b/Source/platform/graphics/CompositingReasons.h
index 3111cfa1c65f29d56af7dde3bd8c02063e096ba3..9f0bfd3c425915227ec6060417f2a2b46f7ceae7 100644
--- a/Source/platform/graphics/CompositingReasons.h
+++ b/Source/platform/graphics/CompositingReasons.h
@@ -70,6 +70,7 @@ const uint64_t CompositingReasonLayerForForeground = UINT64_
const uint64_t CompositingReasonLayerForBackground = UINT64_C(1) << 44;
const uint64_t CompositingReasonLayerForMask = UINT64_C(1) << 45;
const uint64_t CompositingReasonLayerForClippingMask = UINT64_C(1) << 46;
+const uint64_t CompositingReasonLayerForScrollingBlockSelection = UINT64_C(1) << 47;
// Various combinations of compositing reasons are defined here also, for more intutive and faster bitwise logic.
const uint64_t CompositingReasonComboAllDirectReasons =
@@ -278,7 +279,10 @@ static const CompositingReasonStringMap compositingReasonStringMap[] = {
"Secondary layer, to contain the mask contents" },
{ CompositingReasonLayerForClippingMask,
"layerForClippingMask",
- "Secondary layer, for clipping mask" }
+ "Secondary layer, for clipping mask" },
+ { CompositingReasonLayerForScrollingBlockSelection,
+ "layerForScrollingBlockSelection",
+ "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698