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

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

Issue 1757503002: Re-collect rule features for watched selectors. (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
11 namespace blink { 11 namespace blink {
12 12
13 namespace StyleChangeReason { 13 namespace StyleChangeReason {
14 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate"; 14 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate";
15 const char Animation[] = "Animation"; 15 const char Animation[] = "Animation";
16 const char Attribute[] = "Attribute"; 16 const char Attribute[] = "Attribute";
17 const char CleanupPlaceholderStyles[] = "CleanupPlaceholderStyles"; 17 const char CleanupPlaceholderStyles[] = "CleanupPlaceholderStyles";
18 const char CompositorProxy[] = "CompositorProxy"; 18 const char CompositorProxy[] = "CompositorProxy";
19 const char ControlValue[] = "ControlValue"; 19 const char ControlValue[] = "ControlValue";
20 const char Control[] = "Control"; 20 const char Control[] = "Control";
21 const char DeclarativeContent[] = "Extension declarativeContent.css";
21 const char DesignMode[] = "DesignMode"; 22 const char DesignMode[] = "DesignMode";
22 const char Drag[] = "Drag"; 23 const char Drag[] = "Drag";
23 const char FontSizeChange[] = "FontSizeChange"; 24 const char FontSizeChange[] = "FontSizeChange";
24 const char Fonts[] = "Fonts"; 25 const char Fonts[] = "Fonts";
25 const char FullScreen[] = "FullScreen"; 26 const char FullScreen[] = "FullScreen";
26 const char Inline[] = "Inline"; 27 const char Inline[] = "Inline";
27 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated"; 28 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated";
28 const char Inspector[] = "Inspector"; 29 const char Inspector[] = "Inspector";
29 const char Language[] = "Language"; 30 const char Language[] = "Language";
30 const char LinkColorChange[] = "LinkColorChange"; 31 const char LinkColorChange[] = "LinkColorChange";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral); 63 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral);
63 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral); 64 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral);
64 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF romLiteral); 65 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF romLiteral);
65 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro mLiteral); 66 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro mLiteral);
66 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral); 67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral);
67 } 68 }
68 69
69 } // namespace StyleChangeExtraData 70 } // namespace StyleChangeExtraData
70 71
71 } // namespace blink 72 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | third_party/WebKit/Source/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698