| 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 namespace TraceEvent { | |
| 18 class ConvertableToTraceFormat; | |
| 19 } | |
| 20 | 17 |
| 21 namespace StyleChangeReason { | 18 namespace StyleChangeReason { |
| 22 extern const char ActiveStylesheetsUpdate[]; | 19 extern const char ActiveStylesheetsUpdate[]; |
| 23 extern const char Animation[]; | 20 extern const char Animation[]; |
| 24 extern const char Attribute[]; | 21 extern const char Attribute[]; |
| 25 extern const char ControlValue[]; | 22 extern const char ControlValue[]; |
| 26 extern const char Control[]; | 23 extern const char Control[]; |
| 27 extern const char DesignMode[]; | 24 extern const char DesignMode[]; |
| 28 extern const char Drag[]; | 25 extern const char Drag[]; |
| 29 extern const char FontSizeChange[]; | 26 extern const char FontSizeChange[]; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void operator==(const StyleChangeReasonForTracing&) const { } | 95 void operator==(const StyleChangeReasonForTracing&) const { } |
| 99 void operator!=(const StyleChangeReasonForTracing&) const { } | 96 void operator!=(const StyleChangeReasonForTracing&) const { } |
| 100 | 97 |
| 101 const char* m_reason; | 98 const char* m_reason; |
| 102 AtomicString m_extraData; | 99 AtomicString m_extraData; |
| 103 }; | 100 }; |
| 104 | 101 |
| 105 } // namespace blink | 102 } // namespace blink |
| 106 | 103 |
| 107 #endif // StyleChangeReason_h | 104 #endif // StyleChangeReason_h |
| OLD | NEW |