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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.cpp

Issue 2028893002: Disallow fragmentation of composited content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "platform/graphics/SquashingDisallowedReasons.h" 5 #include "platform/graphics/SquashingDisallowedReasons.h"
6 6
7 #include "wtf/StdLibExtras.h" 7 #include "wtf/StdLibExtras.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "Squashing a scroll child with composited descendants is not supported." }, 53 "Squashing a scroll child with composited descendants is not supported." },
54 { SquashingDisallowedReasonSquashingLayerIsAnimating, 54 { SquashingDisallowedReasonSquashingLayerIsAnimating,
55 "squashingLayerIsAnimating", 55 "squashingLayerIsAnimating",
56 "Cannot squash into a layer that is animating." }, 56 "Cannot squash into a layer that is animating." },
57 { SquashingDisallowedReasonRenderingContextMismatch, 57 { SquashingDisallowedReasonRenderingContextMismatch,
58 "squashingLayerRenderingContextMismatch", 58 "squashingLayerRenderingContextMismatch",
59 "Cannot squash layers with different 3D contexts." }, 59 "Cannot squash layers with different 3D contexts." },
60 { SquashingDisallowedReasonNonTranslationTransform, 60 { SquashingDisallowedReasonNonTranslationTransform,
61 "SquashingDisallowedReasonNonTranslationTransform", 61 "SquashingDisallowedReasonNonTranslationTransform",
62 "Cannot squash layers with transforms that are not identity or translati on." }, 62 "Cannot squash layers with transforms that are not identity or translati on." },
63 { SquashingDisallowedReasonFragmentedContent,
64 "SquashingDisallowedReasonFragmentedContent",
65 "Cannot squash layers that are inside fragmentation contexts." },
63 }; 66 };
64 67
65 const size_t kNumberOfSquashingDisallowedReasons = WTF_ARRAY_LENGTH(kSquashingDi sallowedReasonStringMap); 68 const size_t kNumberOfSquashingDisallowedReasons = WTF_ARRAY_LENGTH(kSquashingDi sallowedReasonStringMap);
66 69
67 } // namespace blink 70 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698