OLD | NEW |
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 #ifndef StyleChangeReason_h | 5 #ifndef StyleChangeReason_h |
6 #define StyleChangeReason_h | 6 #define StyleChangeReason_h |
7 | 7 |
8 #include "core/dom/QualifiedName.h" | 8 #include "core/dom/QualifiedName.h" |
9 #include "wtf/text/AtomicString.h" | 9 #include "wtf/text/AtomicString.h" |
10 #include "wtf/text/WTFString.h" | 10 #include "wtf/text/WTFString.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class QualifiedName; | 14 class QualifiedName; |
15 | 15 |
16 namespace StyleChangeReason { | 16 namespace StyleChangeReason { |
17 extern const char ActiveStylesheetsUpdate[]; | 17 extern const char ActiveStylesheetsUpdate[]; |
18 extern const char Animation[]; | 18 extern const char Animation[]; |
19 extern const char Attribute[]; | 19 extern const char Attribute[]; |
20 extern const char CleanupPlaceholderStyles[]; | 20 extern const char CleanupPlaceholderStyles[]; |
21 extern const char CompositorProxy[]; | 21 extern const char CompositorProxy[]; |
22 extern const char ControlValue[]; | 22 extern const char ControlValue[]; |
23 extern const char Control[]; | 23 extern const char Control[]; |
24 extern const char DeclarativeContent[]; | 24 extern const char DeclarativeContent[]; |
25 extern const char DesignMode[]; | 25 extern const char DesignMode[]; |
26 extern const char Drag[]; | |
27 extern const char FontSizeChange[]; | 26 extern const char FontSizeChange[]; |
28 extern const char Fonts[]; | 27 extern const char Fonts[]; |
29 extern const char FullScreen[]; | 28 extern const char FullScreen[]; |
30 extern const char Inline[]; | 29 extern const char Inline[]; |
31 extern const char InlineCSSStyleMutated[]; | 30 extern const char InlineCSSStyleMutated[]; |
32 extern const char Inspector[]; | 31 extern const char Inspector[]; |
33 extern const char Language[]; | 32 extern const char Language[]; |
34 extern const char LinkColorChange[]; | 33 extern const char LinkColorChange[]; |
35 extern const char PlatformColorChange[]; | 34 extern const char PlatformColorChange[]; |
36 extern const char PropagateInheritChangeToDistributedNodes[]; | 35 extern const char PropagateInheritChangeToDistributedNodes[]; |
37 extern const char PseudoClass[]; | 36 extern const char PseudoClass[]; |
38 extern const char SVGContainerSizeChange[]; | 37 extern const char SVGContainerSizeChange[]; |
39 extern const char SVGCursor[]; | 38 extern const char SVGCursor[]; |
40 extern const char SVGFilterLayerUpdate[]; | 39 extern const char SVGFilterLayerUpdate[]; |
41 extern const char Settings[]; | 40 extern const char Settings[]; |
42 extern const char Shadow[]; | 41 extern const char Shadow[]; |
43 extern const char SiblingSelector[]; | |
44 extern const char StyleInvalidator[]; | 42 extern const char StyleInvalidator[]; |
45 extern const char StyleSheetChange[]; | 43 extern const char StyleSheetChange[]; |
46 extern const char Validate[]; | |
47 extern const char ViewportUnits[]; | 44 extern const char ViewportUnits[]; |
48 extern const char VisitedLink[]; | 45 extern const char VisitedLink[]; |
49 extern const char VisuallyOrdered[]; | 46 extern const char VisuallyOrdered[]; |
50 extern const char WritingModeChange[]; | 47 extern const char WritingModeChange[]; |
51 extern const char Zoom[]; | 48 extern const char Zoom[]; |
52 } // namespace StyleChangeReason | 49 } // namespace StyleChangeReason |
53 typedef const char StyleChangeReasonString[]; | 50 typedef const char StyleChangeReasonString[]; |
54 | 51 |
55 namespace StyleChangeExtraData { | 52 namespace StyleChangeExtraData { |
56 extern const AtomicString& Active; | 53 extern const AtomicString& Active; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void operator==(const StyleChangeReasonForTracing&) const { } | 98 void operator==(const StyleChangeReasonForTracing&) const { } |
102 void operator!=(const StyleChangeReasonForTracing&) const { } | 99 void operator!=(const StyleChangeReasonForTracing&) const { } |
103 | 100 |
104 const char* m_reason; | 101 const char* m_reason; |
105 AtomicString m_extraData; | 102 AtomicString m_extraData; |
106 }; | 103 }; |
107 | 104 |
108 } // namespace blink | 105 } // namespace blink |
109 | 106 |
110 #endif // StyleChangeReason_h | 107 #endif // StyleChangeReason_h |
OLD | NEW |