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

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

Issue 2795143004: [selectors4] Implement :focus-within pseudo-class (Closed)
Patch Set: Rebased patch Created 3 years, 8 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 #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"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 extern const char kWritingModeChange[]; 48 extern const char kWritingModeChange[];
49 extern const char kZoom[]; 49 extern const char kZoom[];
50 } // namespace StyleChangeReason 50 } // namespace StyleChangeReason
51 typedef const char StyleChangeReasonString[]; 51 typedef const char StyleChangeReasonString[];
52 52
53 namespace StyleChangeExtraData { 53 namespace StyleChangeExtraData {
54 extern const AtomicString& g_active; 54 extern const AtomicString& g_active;
55 extern const AtomicString& g_disabled; 55 extern const AtomicString& g_disabled;
56 extern const AtomicString& g_drag; 56 extern const AtomicString& g_drag;
57 extern const AtomicString& g_focus; 57 extern const AtomicString& g_focus;
58 extern const AtomicString& g_focus_within;
58 extern const AtomicString& g_hover; 59 extern const AtomicString& g_hover;
59 extern const AtomicString& g_past; 60 extern const AtomicString& g_past;
60 extern const AtomicString& g_unresolved; 61 extern const AtomicString& g_unresolved;
61 62
62 void Init(); 63 void Init();
63 } 64 }
64 65
65 // |StyleChangeReasonForTracing| is used to trace the reason a 66 // |StyleChangeReasonForTracing| is used to trace the reason a
66 // |Node::setNeedsStyleRecalc| call was made to show it in DevTools or in 67 // |Node::setNeedsStyleRecalc| call was made to show it in DevTools or in
67 // about:tracing. 68 // about:tracing.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/StyleChangeReason.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698