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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_focus_within;
59 extern const AtomicString& g_hover; 59 extern const AtomicString& g_hover;
60 extern const AtomicString& g_past; 60 extern const AtomicString& g_past;
61 extern const AtomicString& g_unresolved; 61 extern const AtomicString& g_unresolved;
62 62
63 void Init(); 63 void Init();
64 } 64 } // namespace StyleChangeExtraData
65 65
66 // |StyleChangeReasonForTracing| is used to trace the reason a 66 // |StyleChangeReasonForTracing| is used to trace the reason a
67 // |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
68 // about:tracing. 68 // about:tracing.
69 // |StyleChangeReasonForTracing| is strictly only for the tracing purpose as 69 // |StyleChangeReasonForTracing| is strictly only for the tracing purpose as
70 // described above. Blink logic must not depend on this value. 70 // described above. Blink logic must not depend on this value.
71 class StyleChangeReasonForTracing { 71 class StyleChangeReasonForTracing {
72 DISALLOW_NEW(); 72 DISALLOW_NEW();
73 73
74 public: 74 public:
(...skipping 26 matching lines...) Expand all
101 void operator==(const StyleChangeReasonForTracing&) const {} 101 void operator==(const StyleChangeReasonForTracing&) const {}
102 void operator!=(const StyleChangeReasonForTracing&) const {} 102 void operator!=(const StyleChangeReasonForTracing&) const {}
103 103
104 const char* reason_; 104 const char* reason_;
105 AtomicString extra_data_; 105 AtomicString extra_data_;
106 }; 106 };
107 107
108 } // namespace blink 108 } // namespace blink
109 109
110 #endif // StyleChangeReason_h 110 #endif // StyleChangeReason_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698