Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleChangeReason.cpp

Issue 2256233002: Remove unused StyleChangeReasons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "core/dom/StyleChangeReason.h" 5 #include "core/dom/StyleChangeReason.h"
6 6
7 #include "platform/TraceEvent.h" 7 #include "platform/TraceEvent.h"
8 #include "wtf/StaticConstructors.h" 8 #include "wtf/StaticConstructors.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 namespace StyleChangeReason { 12 namespace StyleChangeReason {
13 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate"; 13 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate";
14 const char Animation[] = "Animation"; 14 const char Animation[] = "Animation";
15 const char Attribute[] = "Attribute"; 15 const char Attribute[] = "Attribute";
16 const char CleanupPlaceholderStyles[] = "CleanupPlaceholderStyles"; 16 const char CleanupPlaceholderStyles[] = "CleanupPlaceholderStyles";
17 const char CompositorProxy[] = "CompositorProxy"; 17 const char CompositorProxy[] = "CompositorProxy";
18 const char ControlValue[] = "ControlValue"; 18 const char ControlValue[] = "ControlValue";
19 const char Control[] = "Control"; 19 const char Control[] = "Control";
20 const char DeclarativeContent[] = "Extension declarativeContent.css"; 20 const char DeclarativeContent[] = "Extension declarativeContent.css";
21 const char DesignMode[] = "DesignMode"; 21 const char DesignMode[] = "DesignMode";
22 const char Drag[] = "Drag";
23 const char FontSizeChange[] = "FontSizeChange"; 22 const char FontSizeChange[] = "FontSizeChange";
24 const char Fonts[] = "Fonts"; 23 const char Fonts[] = "Fonts";
25 const char FullScreen[] = "FullScreen"; 24 const char FullScreen[] = "FullScreen";
26 const char Inline[] = "Inline"; 25 const char Inline[] = "Inline";
27 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated"; 26 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated";
28 const char Inspector[] = "Inspector"; 27 const char Inspector[] = "Inspector";
29 const char Language[] = "Language"; 28 const char Language[] = "Language";
30 const char LinkColorChange[] = "LinkColorChange"; 29 const char LinkColorChange[] = "LinkColorChange";
31 const char PlatformColorChange[] = "PlatformColorChange"; 30 const char PlatformColorChange[] = "PlatformColorChange";
32 const char PropagateInheritChangeToDistributedNodes[] = "PropagateInheritChangeT oDistributedNodes"; 31 const char PropagateInheritChangeToDistributedNodes[] = "PropagateInheritChangeT oDistributedNodes";
33 const char PseudoClass[] = "PseudoClass"; 32 const char PseudoClass[] = "PseudoClass";
34 const char SVGContainerSizeChange[] = "SVGContainerSizeChange"; 33 const char SVGContainerSizeChange[] = "SVGContainerSizeChange";
35 const char SVGCursor[] = "SVGCursor"; 34 const char SVGCursor[] = "SVGCursor";
36 const char SVGFilterLayerUpdate[] = "SVGFilterLayerUpdate"; 35 const char SVGFilterLayerUpdate[] = "SVGFilterLayerUpdate";
37 const char Settings[] = "Settings"; 36 const char Settings[] = "Settings";
38 const char Shadow[] = "Shadow"; 37 const char Shadow[] = "Shadow";
39 const char SiblingSelector[] = "SiblingSelector";
40 const char StyleInvalidator[] = "StyleInvalidator"; 38 const char StyleInvalidator[] = "StyleInvalidator";
41 const char StyleSheetChange[] = "StyleSheetChange"; 39 const char StyleSheetChange[] = "StyleSheetChange";
42 const char Validate[] = "Validate";
43 const char ViewportUnits[] = "ViewportUnits"; 40 const char ViewportUnits[] = "ViewportUnits";
44 const char VisitedLink[] = "VisitedLink"; 41 const char VisitedLink[] = "VisitedLink";
45 const char VisuallyOrdered[] = "VisuallyOrdered"; 42 const char VisuallyOrdered[] = "VisuallyOrdered";
46 const char WritingModeChange[] = "WritingModeChange"; 43 const char WritingModeChange[] = "WritingModeChange";
47 const char Zoom[] = "Zoom"; 44 const char Zoom[] = "Zoom";
48 } // namespace StyleChangeReason 45 } // namespace StyleChangeReason
49 46
50 namespace StyleChangeExtraData { 47 namespace StyleChangeExtraData {
51 DEFINE_GLOBAL(AtomicString, Active) 48 DEFINE_GLOBAL(AtomicString, Active)
52 DEFINE_GLOBAL(AtomicString, Disabled) 49 DEFINE_GLOBAL(AtomicString, Disabled)
(...skipping 12 matching lines...) Expand all
65 new (NotNull, (void*)&Drag) AtomicString(":-webkit-drag"); 62 new (NotNull, (void*)&Drag) AtomicString(":-webkit-drag");
66 new (NotNull, (void*)&Focus) AtomicString(":focus"); 63 new (NotNull, (void*)&Focus) AtomicString(":focus");
67 new (NotNull, (void*)&Hover) AtomicString(":hover"); 64 new (NotNull, (void*)&Hover) AtomicString(":hover");
68 new (NotNull, (void*)&Past) AtomicString(":past"); 65 new (NotNull, (void*)&Past) AtomicString(":past");
69 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved"); 66 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved");
70 } 67 }
71 68
72 } // namespace StyleChangeExtraData 69 } // namespace StyleChangeExtraData
73 70
74 } // namespace blink 71 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698