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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
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 #ifndef SquashingDisallowedReasons_h 5 #ifndef SquashingDisallowedReasons_h
6 #define SquashingDisallowedReasons_h 6 #define SquashingDisallowedReasons_h
7 7
8 #include <stdint.h>
8 #include "platform/PlatformExport.h" 9 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
10 #include <stdint.h>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 enum SquashingDisallowedReason { 14 enum SquashingDisallowedReason {
15 SquashingDisallowedReasonsNone = 0, 15 SquashingDisallowedReasonsNone = 0,
16 SquashingDisallowedReasonScrollsWithRespectToSquashingLayer = 1 << 0, 16 SquashingDisallowedReasonScrollsWithRespectToSquashingLayer = 1 << 0,
17 SquashingDisallowedReasonSquashingSparsityExceeded = 1 << 1, 17 SquashingDisallowedReasonSquashingSparsityExceeded = 1 << 1,
18 SquashingDisallowedReasonClippingContainerMismatch = 1 << 2, 18 SquashingDisallowedReasonClippingContainerMismatch = 1 << 2,
19 SquashingDisallowedReasonOpacityAncestorMismatch = 1 << 3, 19 SquashingDisallowedReasonOpacityAncestorMismatch = 1 << 3,
20 SquashingDisallowedReasonTransformAncestorMismatch = 1 << 4, 20 SquashingDisallowedReasonTransformAncestorMismatch = 1 << 4,
(...skipping 20 matching lines...) Expand all
41 const char* description; 41 const char* description;
42 }; 42 };
43 43
44 PLATFORM_EXPORT extern const SquashingDisallowedReasonStringMap 44 PLATFORM_EXPORT extern const SquashingDisallowedReasonStringMap
45 kSquashingDisallowedReasonStringMap[]; 45 kSquashingDisallowedReasonStringMap[];
46 PLATFORM_EXPORT extern const size_t kNumberOfSquashingDisallowedReasons; 46 PLATFORM_EXPORT extern const size_t kNumberOfSquashingDisallowedReasons;
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 #endif // SquashingDisallowedReasons_h 50 #endif // SquashingDisallowedReasons_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698