OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef StyleChangeReason_h |
| 6 #define StyleChangeReason_h |
| 7 |
| 8 #include "wtf/Assertions.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 // |StyleChangeReasonForTracing| is used to trace the reason a |
| 13 // |Node::setNeedsStyleRecalc| call was made to show it in DevTools or in |
| 14 // about:tracing. |
| 15 // |StyleChangeReasonForTracing| is strictly only for the tracing purpose as |
| 16 // described above. Blink logic must not depend on this value. |
| 17 namespace StyleChangeReasonForTracing { |
| 18 extern const char ActivePseudoClass[]; |
| 19 extern const char ActiveStylesheetsUpdate[]; |
| 20 extern const char Animation[]; |
| 21 extern const char Attribute[]; |
| 22 extern const char CellBorderPaddingChange[]; |
| 23 extern const char Control[]; |
| 24 extern const char ControlValue[]; |
| 25 extern const char CustomElement[]; |
| 26 extern const char DesignMode[]; |
| 27 extern const char DisabledPseudoClass[]; |
| 28 extern const char Drag[]; |
| 29 extern const char EmptyPseudoClass[]; |
| 30 extern const char FocusPseudoClass[]; |
| 31 extern const char FontSizeChange[]; |
| 32 extern const char Fonts[]; |
| 33 extern const char FrameSet[]; |
| 34 extern const char FullScreen[]; |
| 35 extern const char HoverPseudoClass[]; |
| 36 extern const char Inline[]; |
| 37 extern const char Inspector[]; |
| 38 extern const char InvalidPseudoClass[]; |
| 39 extern const char Language[]; |
| 40 extern const char LinkColorChange[]; |
| 41 extern const char PlatformColorChange[]; |
| 42 extern const char Plugin[]; |
| 43 extern const char RequiredOptionalPseudoClass[]; |
| 44 extern const char SVGContainerSizeChange[]; |
| 45 extern const char SVGCursor[]; |
| 46 extern const char SVGFilterLayerUpdate[]; |
| 47 extern const char Selector[]; |
| 48 extern const char Shadow[]; |
| 49 extern const char SiblingSelector[]; |
| 50 extern const char StyleInvalidator[]; |
| 51 extern const char StyleSheetChange[]; |
| 52 extern const char ViewportUnits[]; |
| 53 extern const char VisitedLink[]; |
| 54 extern const char VisuallyOrdered[]; |
| 55 extern const char WritingModeChange[]; |
| 56 extern const char Zoom[]; |
| 57 }; |
| 58 typedef const char StyleChangeReasonString[]; |
| 59 |
| 60 } // namespace blink |
| 61 |
| 62 #endif // StyleChangeReason_h |
OLD | NEW |