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 "core/dom/StyleChangeReason.h" | 5 #include "core/dom/StyleChangeReason.h" |
6 | 6 |
7 #include "platform/TraceEvent.h" | 7 #include "platform/TraceEvent.h" |
8 #include "wtf/StaticConstructors.h" | 8 #include "wtf/StaticConstructors.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 DEFINE_GLOBAL(AtomicString, Disabled) | 52 DEFINE_GLOBAL(AtomicString, Disabled) |
53 DEFINE_GLOBAL(AtomicString, Focus) | 53 DEFINE_GLOBAL(AtomicString, Focus) |
54 DEFINE_GLOBAL(AtomicString, Hover) | 54 DEFINE_GLOBAL(AtomicString, Hover) |
55 DEFINE_GLOBAL(AtomicString, Past) | 55 DEFINE_GLOBAL(AtomicString, Past) |
56 DEFINE_GLOBAL(AtomicString, Unresolved) | 56 DEFINE_GLOBAL(AtomicString, Unresolved) |
57 | 57 |
58 void init() | 58 void init() |
59 { | 59 { |
60 ASSERT(isMainThread()); | 60 ASSERT(isMainThread()); |
61 | 61 |
62 new (NotNull, (void*)&Active) AtomicString(":active", AtomicString::Construc
tFromLiteral); | 62 new (NotNull, (void*)&Active) AtomicString(":active"); |
63 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons
tructFromLiteral); | 63 new (NotNull, (void*)&Disabled) AtomicString(":disabled"); |
64 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF
romLiteral); | 64 new (NotNull, (void*)&Focus) AtomicString(":focus"); |
65 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF
romLiteral); | 65 new (NotNull, (void*)&Hover) AtomicString(":hover"); |
66 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro
mLiteral); | 66 new (NotNull, (void*)&Past) AtomicString(":past"); |
67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString::
ConstructFromLiteral); | 67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved"); |
68 } | 68 } |
69 | 69 |
70 } // namespace StyleChangeExtraData | 70 } // namespace StyleChangeExtraData |
71 | 71 |
72 } // namespace blink | 72 } // namespace blink |
OLD | NEW |