| 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/PassRefPtr.h" | 9 #include "wtf/PassRefPtr.h" |
| 10 #include "wtf/text/AtomicString.h" | 10 #include "wtf/text/AtomicString.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class QualifiedName; | 15 class QualifiedName; |
| 16 | 16 |
| 17 namespace StyleChangeReason { | 17 namespace StyleChangeReason { |
| 18 extern const char ActiveStylesheetsUpdate[]; | 18 extern const char ActiveStylesheetsUpdate[]; |
| 19 extern const char Animation[]; | 19 extern const char Animation[]; |
| 20 extern const char Attribute[]; | 20 extern const char Attribute[]; |
| 21 extern const char CleanupPlaceholderStyles[]; | 21 extern const char CleanupPlaceholderStyles[]; |
| 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 DeclarativeContent[]; |
| 25 extern const char DesignMode[]; | 26 extern const char DesignMode[]; |
| 26 extern const char Drag[]; | 27 extern const char Drag[]; |
| 27 extern const char FontSizeChange[]; | 28 extern const char FontSizeChange[]; |
| 28 extern const char Fonts[]; | 29 extern const char Fonts[]; |
| 29 extern const char FullScreen[]; | 30 extern const char FullScreen[]; |
| 30 extern const char Inline[]; | 31 extern const char Inline[]; |
| 31 extern const char InlineCSSStyleMutated[]; | 32 extern const char InlineCSSStyleMutated[]; |
| 32 extern const char Inspector[]; | 33 extern const char Inspector[]; |
| 33 extern const char Language[]; | 34 extern const char Language[]; |
| 34 extern const char LinkColorChange[]; | 35 extern const char LinkColorChange[]; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void operator==(const StyleChangeReasonForTracing&) const { } | 100 void operator==(const StyleChangeReasonForTracing&) const { } |
| 100 void operator!=(const StyleChangeReasonForTracing&) const { } | 101 void operator!=(const StyleChangeReasonForTracing&) const { } |
| 101 | 102 |
| 102 const char* m_reason; | 103 const char* m_reason; |
| 103 AtomicString m_extraData; | 104 AtomicString m_extraData; |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } // namespace blink | 107 } // namespace blink |
| 107 | 108 |
| 108 #endif // StyleChangeReason_h | 109 #endif // StyleChangeReason_h |
| OLD | NEW |