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 #include "config.h" | 5 #include "config.h" |
6 #include "core/dom/StyleChangeReason.h" | 6 #include "core/dom/StyleChangeReason.h" |
7 | 7 |
8 #include "platform/TraceEvent.h" | 8 #include "platform/TraceEvent.h" |
9 #include "wtf/MainThread.h" | 9 #include "wtf/MainThread.h" |
10 #include "wtf/StaticConstructors.h" | 10 #include "wtf/StaticConstructors.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 namespace StyleChangeReason { | 14 namespace StyleChangeReason { |
15 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate"; | 15 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate"; |
16 const char Animation[] = "Animation"; | 16 const char Animation[] = "Animation"; |
17 const char Attribute[] = "Attribute"; | 17 const char Attribute[] = "Attribute"; |
18 const char ControlValue[] = "ControlValue"; | 18 const char ControlValue[] = "ControlValue"; |
19 const char Control[] = "Control"; | 19 const char Control[] = "Control"; |
20 const char DesignMode[] = "DesignMode"; | 20 const char DesignMode[] = "DesignMode"; |
21 const char Drag[] = "Drag"; | 21 const char Drag[] = "Drag"; |
22 const char FontSizeChange[] = "FontSizeChange"; | 22 const char FontSizeChange[] = "FontSizeChange"; |
23 const char Fonts[] = "Fonts"; | 23 const char Fonts[] = "Fonts"; |
24 const char FullScreen[] = "FullScreen"; | 24 const char FullScreen[] = "FullScreen"; |
25 const char Inline[] = "Inline"; | 25 const char Inline[] = "Inline"; |
26 const char Inspector[] = "Inspector"; | 26 const char Inspector[] = "Inspector"; |
27 const char Language[] = "Language"; | 27 const char Language[] = "Language"; |
28 const char LinkColorChange[] = "LinkColorChange"; | 28 const char LinkColorChange[] = "LinkColorChange"; |
29 const char PlatformColorChange[] = "PlatformColorChange"; | 29 const char PlatformColorChange[] = "PlatformColorChange"; |
30 const char Plugin[] = "Plugin"; | |
31 const char PropagateInheritChangeToDistributedNodes[] = "PropagateInheritChangeT
oDistributedNodes"; | 30 const char PropagateInheritChangeToDistributedNodes[] = "PropagateInheritChangeT
oDistributedNodes"; |
32 const char PseudoClass[] = "PseudoClass"; | 31 const char PseudoClass[] = "PseudoClass"; |
33 const char SVGContainerSizeChange[] = "SVGContainerSizeChange"; | 32 const char SVGContainerSizeChange[] = "SVGContainerSizeChange"; |
34 const char SVGCursor[] = "SVGCursor"; | 33 const char SVGCursor[] = "SVGCursor"; |
35 const char SVGFilterLayerUpdate[] = "SVGFilterLayerUpdate"; | 34 const char SVGFilterLayerUpdate[] = "SVGFilterLayerUpdate"; |
36 const char Shadow[] = "Shadow"; | 35 const char Shadow[] = "Shadow"; |
37 const char SiblingSelector[] = "SiblingSelector"; | 36 const char SiblingSelector[] = "SiblingSelector"; |
38 const char StyleInvalidator[] = "StyleInvalidator"; | 37 const char StyleInvalidator[] = "StyleInvalidator"; |
39 const char StyleSheetChange[] = "StyleSheetChange"; | 38 const char StyleSheetChange[] = "StyleSheetChange"; |
40 const char Validate[] = "Validate"; | 39 const char Validate[] = "Validate"; |
(...skipping 20 matching lines...) Expand all Loading... |
61 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons
tructFromLiteral); | 60 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons
tructFromLiteral); |
62 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF
romLiteral); | 61 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF
romLiteral); |
63 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF
romLiteral); | 62 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF
romLiteral); |
64 new (NotNull, (void*)&Invalid) AtomicString(":invalid", AtomicString::Constr
uctFromLiteral); | 63 new (NotNull, (void*)&Invalid) AtomicString(":invalid", AtomicString::Constr
uctFromLiteral); |
65 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString::
ConstructFromLiteral); | 64 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString::
ConstructFromLiteral); |
66 } | 65 } |
67 | 66 |
68 } // namespace StyleChangeExtraData | 67 } // namespace StyleChangeExtraData |
69 | 68 |
70 } // namespace blink | 69 } // namespace blink |
OLD | NEW |