| 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 "platform/wtf/text/AtomicString.h" | 9 #include "platform/wtf/text/AtomicString.h" |
| 10 #include "platform/wtf/text/WTFString.h" | 10 #include "platform/wtf/text/WTFString.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class QualifiedName; | 14 class QualifiedName; |
| 15 | 15 |
| 16 namespace StyleChangeReason { | 16 namespace StyleChangeReason { |
| 17 extern const char kActiveStylesheetsUpdate[]; | 17 extern const char kActiveStylesheetsUpdate[]; |
| 18 extern const char kAnimation[]; | 18 extern const char kAnimation[]; |
| 19 extern const char kAttribute[]; | 19 extern const char kAttribute[]; |
| 20 extern const char kCleanupPlaceholderStyles[]; | 20 extern const char kCleanupPlaceholderStyles[]; |
| 21 extern const char kControlValue[]; | 21 extern const char kControlValue[]; |
| 22 extern const char kControl[]; | 22 extern const char kControl[]; |
| 23 extern const char kDeclarativeContent[]; | 23 extern const char kDeclarativeContent[]; |
| 24 extern const char kDesignMode[]; | 24 extern const char kDesignMode[]; |
| 25 extern const char kFontSizeChange[]; | 25 extern const char kFontSizeChange[]; |
| 26 extern const char kFonts[]; | 26 extern const char kFonts[]; |
| 27 extern const char kFullScreen[]; | 27 extern const char kFullScreen[]; |
| 28 extern const char kInheritedStyleChangeFromParentFrame[]; |
| 28 extern const char kInline[]; | 29 extern const char kInline[]; |
| 29 extern const char kInlineCSSStyleMutated[]; | 30 extern const char kInlineCSSStyleMutated[]; |
| 30 extern const char kInspector[]; | 31 extern const char kInspector[]; |
| 31 extern const char kLanguage[]; | 32 extern const char kLanguage[]; |
| 32 extern const char kLinkColorChange[]; | 33 extern const char kLinkColorChange[]; |
| 33 extern const char kPlatformColorChange[]; | 34 extern const char kPlatformColorChange[]; |
| 34 extern const char kPropagateInheritChangeToDistributedNodes[]; | 35 extern const char kPropagateInheritChangeToDistributedNodes[]; |
| 35 extern const char kPropertyRegistration[]; | 36 extern const char kPropertyRegistration[]; |
| 36 extern const char kPropertyUnregistration[]; | 37 extern const char kPropertyUnregistration[]; |
| 37 extern const char kPseudoClass[]; | 38 extern const char kPseudoClass[]; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void operator==(const StyleChangeReasonForTracing&) const {} | 101 void operator==(const StyleChangeReasonForTracing&) const {} |
| 101 void operator!=(const StyleChangeReasonForTracing&) const {} | 102 void operator!=(const StyleChangeReasonForTracing&) const {} |
| 102 | 103 |
| 103 const char* reason_; | 104 const char* reason_; |
| 104 AtomicString extra_data_; | 105 AtomicString extra_data_; |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // namespace blink | 108 } // namespace blink |
| 108 | 109 |
| 109 #endif // StyleChangeReason_h | 110 #endif // StyleChangeReason_h |
| OLD | NEW |