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

Side by Side Diff: sky/engine/platform/graphics/CompositingReasons.cpp

Issue 686903003: Remove RenderPart. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.h ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "Cannot be squashed because this layer has a different filter ancestor t han the squashing layer" }, 78 "Cannot be squashed because this layer has a different filter ancestor t han the squashing layer" },
79 { CompositingReasonSquashingWouldBreakPaintOrder, 79 { CompositingReasonSquashingWouldBreakPaintOrder,
80 "squashingWouldBreakPaintOrder", 80 "squashingWouldBreakPaintOrder",
81 "Cannot be squashed without breaking paint order" }, 81 "Cannot be squashed without breaking paint order" },
82 { CompositingReasonSquashingVideoIsDisallowed, 82 { CompositingReasonSquashingVideoIsDisallowed,
83 "squashingVideoIsDisallowed", 83 "squashingVideoIsDisallowed",
84 "Squashing video is not supported" }, 84 "Squashing video is not supported" },
85 { CompositingReasonSquashedLayerClipsCompositingDescendants, 85 { CompositingReasonSquashedLayerClipsCompositingDescendants,
86 "squashedLayerClipsCompositingDescendants", 86 "squashedLayerClipsCompositingDescendants",
87 "Squashing a layer that clips composited descendants is not supported." }, 87 "Squashing a layer that clips composited descendants is not supported." },
88 { CompositingReasonSquashingRenderPartIsDisallowed,
89 "squashingRenderPartIsDisallowed",
90 "Squashing a frame, iframe or plugin is not supported." },
91 { CompositingReasonTransformWithCompositedDescendants, 88 { CompositingReasonTransformWithCompositedDescendants,
92 "transformWithCompositedDescendants", 89 "transformWithCompositedDescendants",
93 "Has a transform that needs to be known by compositor because of composi ted descendants" }, 90 "Has a transform that needs to be known by compositor because of composi ted descendants" },
94 { CompositingReasonOpacityWithCompositedDescendants, 91 { CompositingReasonOpacityWithCompositedDescendants,
95 "opacityWithCompositedDescendants", 92 "opacityWithCompositedDescendants",
96 "Has opacity that needs to be applied by compositor because of composite d descendants" }, 93 "Has opacity that needs to be applied by compositor because of composite d descendants" },
97 { CompositingReasonMaskWithCompositedDescendants, 94 { CompositingReasonMaskWithCompositedDescendants,
98 "maskWithCompositedDescendants", 95 "maskWithCompositedDescendants",
99 "Has a mask that needs to be known by compositor because of composited d escendants" }, 96 "Has a mask that needs to be known by compositor because of composited d escendants" },
100 { CompositingReasonFilterWithCompositedDescendants, 97 { CompositingReasonFilterWithCompositedDescendants,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "layerForScrollingBlockSelection", 164 "layerForScrollingBlockSelection",
168 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 165 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
169 { CompositingReasonInlineTransform, 166 { CompositingReasonInlineTransform,
170 "inlineTransform", 167 "inlineTransform",
171 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 168 "Has an inline transform, which causes subsequent layers to assume overl ap" },
172 }; 169 };
173 170
174 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 171 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
175 172
176 } // namespace blink 173 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.h ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698