Chromium Code Reviews| 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/NullPtr.h" | 9 #include "wtf/NullPtr.h" |
| 10 #include "wtf/PassRefPtr.h" | 10 #include "wtf/PassRefPtr.h" |
| 11 #include "wtf/text/AtomicString.h" | 11 #include "wtf/text/AtomicString.h" |
| 12 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class QualifiedName; | 16 class QualifiedName; |
| 17 | 17 |
| 18 namespace StyleChangeReason { | 18 namespace StyleChangeReason { |
| 19 extern const char ActiveStylesheetsUpdate[]; | 19 extern const char ActiveStylesheetsUpdate[]; |
| 20 extern const char Animation[]; | 20 extern const char Animation[]; |
| 21 extern const char Attribute[]; | 21 extern const char Attribute[]; |
| 22 extern const char CompositorProxy[]; | 22 extern const char CompositorProxy[]; |
| 23 extern const char ControlValue[]; | 23 extern const char ControlValue[]; |
| 24 extern const char Control[]; | 24 extern const char Control[]; |
| 25 extern const char DesignMode[]; | 25 extern const char DesignMode[]; |
| 26 extern const char Drag[]; | 26 extern const char Drag[]; |
| 27 extern const char FontSizeChange[]; | 27 extern const char FontSizeChange[]; |
| 28 extern const char Fonts[]; | 28 extern const char Fonts[]; |
| 29 extern const char FullScreen[]; | 29 CORE_EXPORT extern const char FullScreen[]; |
|
esprehn
2015/09/24 20:17:02
yeah this is super ugly, lets expose a specific AP
dsinclair
2015/09/28 17:14:58
Done.
| |
| 30 extern const char Inline[]; | 30 extern const char Inline[]; |
| 31 extern const char InlineCSSStyleMutated[]; | 31 extern const char InlineCSSStyleMutated[]; |
| 32 extern const char Inspector[]; | 32 extern const char Inspector[]; |
| 33 extern const char Language[]; | 33 extern const char Language[]; |
| 34 extern const char LinkColorChange[]; | 34 extern const char LinkColorChange[]; |
| 35 extern const char PlatformColorChange[]; | 35 extern const char PlatformColorChange[]; |
| 36 extern const char PropagateInheritChangeToDistributedNodes[]; | 36 extern const char PropagateInheritChangeToDistributedNodes[]; |
| 37 extern const char PseudoClass[]; | 37 extern const char PseudoClass[]; |
| 38 extern const char SVGContainerSizeChange[]; | 38 extern const char SVGContainerSizeChange[]; |
| 39 extern const char SVGCursor[]; | 39 extern const char SVGCursor[]; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 void operator==(const StyleChangeReasonForTracing&) const { } | 99 void operator==(const StyleChangeReasonForTracing&) const { } |
| 100 void operator!=(const StyleChangeReasonForTracing&) const { } | 100 void operator!=(const StyleChangeReasonForTracing&) const { } |
| 101 | 101 |
| 102 const char* m_reason; | 102 const char* m_reason; |
| 103 AtomicString m_extraData; | 103 AtomicString m_extraData; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace blink | 106 } // namespace blink |
| 107 | 107 |
| 108 #endif // StyleChangeReason_h | 108 #endif // StyleChangeReason_h |
| OLD | NEW |