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

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

Issue 1013393004: Eliminate TextTrackCue::updateDisplayTree() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: coerce m_isPastNode to bool Created 5 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 | Annotate | Revision Log
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 "wtf/NullPtr.h" 9 #include "wtf/NullPtr.h"
10 #include "wtf/PassRefPtr.h" 10 #include "wtf/PassRefPtr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 extern const char WritingModeChange[]; 48 extern const char WritingModeChange[];
49 extern const char Zoom[]; 49 extern const char Zoom[];
50 } 50 }
51 typedef const char StyleChangeReasonString[]; 51 typedef const char StyleChangeReasonString[];
52 52
53 namespace StyleChangeExtraData { 53 namespace StyleChangeExtraData {
54 extern const AtomicString& Active; 54 extern const AtomicString& Active;
55 extern const AtomicString& Disabled; 55 extern const AtomicString& Disabled;
56 extern const AtomicString& Focus; 56 extern const AtomicString& Focus;
57 extern const AtomicString& Hover; 57 extern const AtomicString& Hover;
58 extern const AtomicString& Past;
58 extern const AtomicString& Unresolved; 59 extern const AtomicString& Unresolved;
59 60
60 void init(); 61 void init();
61 } 62 }
62 63
63 // |StyleChangeReasonForTracing| is used to trace the reason a 64 // |StyleChangeReasonForTracing| is used to trace the reason a
64 // |Node::setNeedsStyleRecalc| call was made to show it in DevTools or in 65 // |Node::setNeedsStyleRecalc| call was made to show it in DevTools or in
65 // about:tracing. 66 // about:tracing.
66 // |StyleChangeReasonForTracing| is strictly only for the tracing purpose as 67 // |StyleChangeReasonForTracing| is strictly only for the tracing purpose as
67 // described above. Blink logic must not depend on this value. 68 // described above. Blink logic must not depend on this value.
(...skipping 28 matching lines...) Expand all
96 void operator==(const StyleChangeReasonForTracing&) const { } 97 void operator==(const StyleChangeReasonForTracing&) const { }
97 void operator!=(const StyleChangeReasonForTracing&) const { } 98 void operator!=(const StyleChangeReasonForTracing&) const { }
98 99
99 const char* m_reason; 100 const char* m_reason;
100 AtomicString m_extraData; 101 AtomicString m_extraData;
101 }; 102 };
102 103
103 } // namespace blink 104 } // namespace blink
104 105
105 #endif // StyleChangeReason_h 106 #endif // StyleChangeReason_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698