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

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

Issue 1772513003: No need to re-collect stylesheets for setting type StyleChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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/MainThread.h" 8 #include "wtf/MainThread.h"
9 #include "wtf/StaticConstructors.h" 9 #include "wtf/StaticConstructors.h"
10 10
(...skipping 17 matching lines...) Expand all
28 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated"; 28 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated";
29 const char Inspector[] = "Inspector"; 29 const char Inspector[] = "Inspector";
30 const char Language[] = "Language"; 30 const char Language[] = "Language";
31 const char LinkColorChange[] = "LinkColorChange"; 31 const char LinkColorChange[] = "LinkColorChange";
32 const char PlatformColorChange[] = "PlatformColorChange"; 32 const char PlatformColorChange[] = "PlatformColorChange";
33 const char PropagateInheritChangeToDistributedNodes[] = "PropagateInheritChangeT oDistributedNodes"; 33 const char PropagateInheritChangeToDistributedNodes[] = "PropagateInheritChangeT oDistributedNodes";
34 const char PseudoClass[] = "PseudoClass"; 34 const char PseudoClass[] = "PseudoClass";
35 const char SVGContainerSizeChange[] = "SVGContainerSizeChange"; 35 const char SVGContainerSizeChange[] = "SVGContainerSizeChange";
36 const char SVGCursor[] = "SVGCursor"; 36 const char SVGCursor[] = "SVGCursor";
37 const char SVGFilterLayerUpdate[] = "SVGFilterLayerUpdate"; 37 const char SVGFilterLayerUpdate[] = "SVGFilterLayerUpdate";
38 const char Settings[] = "Settings";
38 const char Shadow[] = "Shadow"; 39 const char Shadow[] = "Shadow";
39 const char SiblingSelector[] = "SiblingSelector"; 40 const char SiblingSelector[] = "SiblingSelector";
40 const char StyleInvalidator[] = "StyleInvalidator"; 41 const char StyleInvalidator[] = "StyleInvalidator";
41 const char StyleSheetChange[] = "StyleSheetChange"; 42 const char StyleSheetChange[] = "StyleSheetChange";
42 const char Validate[] = "Validate"; 43 const char Validate[] = "Validate";
43 const char ViewportUnits[] = "ViewportUnits"; 44 const char ViewportUnits[] = "ViewportUnits";
44 const char VisitedLink[] = "VisitedLink"; 45 const char VisitedLink[] = "VisitedLink";
45 const char VisuallyOrdered[] = "VisuallyOrdered"; 46 const char VisuallyOrdered[] = "VisuallyOrdered";
46 const char WritingModeChange[] = "WritingModeChange"; 47 const char WritingModeChange[] = "WritingModeChange";
47 const char Zoom[] = "Zoom"; 48 const char Zoom[] = "Zoom";
(...skipping 15 matching lines...) Expand all
63 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral); 64 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral);
64 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral); 65 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral);
65 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF romLiteral); 66 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF romLiteral);
66 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro mLiteral); 67 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro mLiteral);
67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral); 68 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral);
68 } 69 }
69 70
70 } // namespace StyleChangeExtraData 71 } // namespace StyleChangeExtraData
71 72
72 } // namespace blink 73 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698