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

Side by Side Diff: Source/platform/graphics/CompositingReasons.cpp

Issue 784453003: Initial scroll-blocks-on compositor integration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Eliminate scrollbars from iframe test for cross-platform output consistency Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "platform/graphics/CompositingReasons.h" 6 #include "platform/graphics/CompositingReasons.h"
7 7
8 #include "wtf/StdLibExtras.h" 8 #include "wtf/StdLibExtras.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "Scroll parent is not an ancestor" }, 48 "Scroll parent is not an ancestor" },
49 { CompositingReasonOutOfFlowClipping, 49 { CompositingReasonOutOfFlowClipping,
50 "outOfFlowClipping", 50 "outOfFlowClipping",
51 "Has clipping ancestor" }, 51 "Has clipping ancestor" },
52 { CompositingReasonVideoOverlay, 52 { CompositingReasonVideoOverlay,
53 "videoOverlay", 53 "videoOverlay",
54 "Is overlay controls for video" }, 54 "Is overlay controls for video" },
55 { CompositingReasonWillChangeCompositingHint, 55 { CompositingReasonWillChangeCompositingHint,
56 "willChange", 56 "willChange",
57 "Has a will-change compositing hint" }, 57 "Has a will-change compositing hint" },
58 { CompositingReasonScrollBlocksOn,
59 "scrollBlocksOn",
60 "Has a CSS scroll-blocks-on value other than none" },
58 { CompositingReasonAssumedOverlap, 61 { CompositingReasonAssumedOverlap,
59 "assumedOverlap", 62 "assumedOverlap",
60 "Might overlap other composited content" }, 63 "Might overlap other composited content" },
61 { CompositingReasonOverlap, 64 { CompositingReasonOverlap,
62 "overlap", 65 "overlap",
63 "Overlaps other composited content" }, 66 "Overlaps other composited content" },
64 { CompositingReasonNegativeZIndexChildren, 67 { CompositingReasonNegativeZIndexChildren,
65 "negativeZIndexChildren", 68 "negativeZIndexChildren",
66 "Parent with composited negative z-index content" }, 69 "Parent with composited negative z-index content" },
67 { CompositingReasonScrollsWithRespectToSquashingLayer, 70 { CompositingReasonScrollsWithRespectToSquashingLayer,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 "layerForScrollingBlockSelection", 188 "layerForScrollingBlockSelection",
186 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 189 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
187 { CompositingReasonInlineTransform, 190 { CompositingReasonInlineTransform,
188 "inlineTransform", 191 "inlineTransform",
189 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 192 "Has an inline transform, which causes subsequent layers to assume overl ap" },
190 }; 193 };
191 194
192 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 195 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
193 196
194 } // namespace blink 197 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698