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

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

Issue 1060973003: compositor-worker: Force elements to grow a layer when a CompositorProxy is created. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tot-merge Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/graphics/CompositingReasons.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 58 { CompositingReasonScrollBlocksOn,
59 "scrollBlocksOn", 59 "scrollBlocksOn",
60 "Has a CSS scroll-blocks-on value other than none" }, 60 "Has a CSS scroll-blocks-on value other than none" },
61 { CompositingReasonCompositorProxy,
62 "compositorProxy",
63 "Has a CompositorProxy object" },
61 { CompositingReasonAssumedOverlap, 64 { CompositingReasonAssumedOverlap,
62 "assumedOverlap", 65 "assumedOverlap",
63 "Might overlap other composited content" }, 66 "Might overlap other composited content" },
64 { CompositingReasonOverlap, 67 { CompositingReasonOverlap,
65 "overlap", 68 "overlap",
66 "Overlaps other composited content" }, 69 "Overlaps other composited content" },
67 { CompositingReasonNegativeZIndexChildren, 70 { CompositingReasonNegativeZIndexChildren,
68 "negativeZIndexChildren", 71 "negativeZIndexChildren",
69 "Parent with composited negative z-index content" }, 72 "Parent with composited negative z-index content" },
70 { CompositingReasonScrollsWithRespectToSquashingLayer, 73 { CompositingReasonScrollsWithRespectToSquashingLayer,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "layerForScrollingBlockSelection", 194 "layerForScrollingBlockSelection",
192 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 195 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
193 { CompositingReasonInlineTransform, 196 { CompositingReasonInlineTransform,
194 "inlineTransform", 197 "inlineTransform",
195 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 198 "Has an inline transform, which causes subsequent layers to assume overl ap" },
196 }; 199 };
197 200
198 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 201 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
199 202
200 } // namespace blink 203 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/CompositingReasons.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698