| Index: third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.h b/third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ec290909e713ef86f3876f6c2ea26a123c060438
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/graphics/SquashingDisallowedReasons.h
|
| @@ -0,0 +1,46 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SquashingDisallowedReasons_h
|
| +#define SquashingDisallowedReasons_h
|
| +
|
| +#include "platform/PlatformExport.h"
|
| +#include "wtf/Allocator.h"
|
| +#include <stdint.h>
|
| +
|
| +namespace blink {
|
| +
|
| +const uint64_t SquashingDisallowedReasonsNone = 0;
|
| +
|
| +const uint64_t SquashingDisallowedReasonScrollsWithRespectToSquashingLayer = UINT64_C(1) << 0;
|
| +const uint64_t SquashingDisallowedReasonSquashingSparsityExceeded = UINT64_C(1) << 1;
|
| +const uint64_t SquashingDisallowedReasonClippingContainerMismatch = UINT64_C(1) << 2;
|
| +const uint64_t SquashingDisallowedReasonOpacityAncestorMismatch = UINT64_C(1) << 3;
|
| +const uint64_t SquashingDisallowedReasonTransformAncestorMismatch = UINT64_C(1) << 4;
|
| +const uint64_t SquashingDisallowedReasonFilterMismatch = UINT64_C(1) << 5;
|
| +const uint64_t SquashingDisallowedReasonWouldBreakPaintOrder = UINT64_C(1) << 6;
|
| +const uint64_t SquashingDisallowedReasonSquashingVideoIsDisallowed = UINT64_C(1) << 7;
|
| +const uint64_t SquashingDisallowedReasonSquashedLayerClipsCompositingDescendants = UINT64_C(1) << 8;
|
| +const uint64_t SquashingDisallowedReasonSquashingLayoutPartIsDisallowed = UINT64_C(1) << 9;
|
| +const uint64_t SquashingDisallowedReasonSquashingReflectionIsDisallowed = UINT64_C(1) << 10;
|
| +const uint64_t SquashingDisallowedReasonSquashingBlendingIsDisallowed = UINT64_C(1) << 11;
|
| +const uint64_t SquashingDisallowedReasonNearestFixedPositionMismatch = UINT64_C(1) << 12;
|
| +const uint64_t SquashingDisallowedReasonScrollChildWithCompositedDescendants = UINT64_C(1) << 13;
|
| +const uint64_t SquashingDisallowedReasonSquashingLayerIsAnimating = UINT64_C(1) << 14;
|
| +
|
| +typedef uint64_t SquashingDisallowedReasons;
|
| +
|
| +struct SquashingDisallowedReasonStringMap {
|
| + STACK_ALLOCATED();
|
| + SquashingDisallowedReasons reason;
|
| + const char* shortName;
|
| + const char* description;
|
| +};
|
| +
|
| +PLATFORM_EXPORT extern const SquashingDisallowedReasonStringMap kSquashingDisallowedReasonStringMap[];
|
| +PLATFORM_EXPORT extern const size_t kNumberOfSquashingDisallowedReasons;
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // SquashingDisallowedReasons_h
|
|
|