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

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

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
« no previous file with comments | « Source/core/dom/StyleChangeReason.h ('k') | Source/core/html/track/CueTimeline.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "config.h" 5 #include "config.h"
6 #include "core/dom/StyleChangeReason.h" 6 #include "core/dom/StyleChangeReason.h"
7 7
8 #include "platform/TraceEvent.h" 8 #include "platform/TraceEvent.h"
9 #include "wtf/MainThread.h" 9 #include "wtf/MainThread.h"
10 #include "wtf/StaticConstructors.h" 10 #include "wtf/StaticConstructors.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const char VisuallyOrdered[] = "VisuallyOrdered"; 43 const char VisuallyOrdered[] = "VisuallyOrdered";
44 const char WritingModeChange[] = "WritingModeChange"; 44 const char WritingModeChange[] = "WritingModeChange";
45 const char Zoom[] = "Zoom"; 45 const char Zoom[] = "Zoom";
46 } // namespace StyleChangeReasonForTracing 46 } // namespace StyleChangeReasonForTracing
47 47
48 namespace StyleChangeExtraData { 48 namespace StyleChangeExtraData {
49 DEFINE_GLOBAL(AtomicString, Active) 49 DEFINE_GLOBAL(AtomicString, Active)
50 DEFINE_GLOBAL(AtomicString, Disabled) 50 DEFINE_GLOBAL(AtomicString, Disabled)
51 DEFINE_GLOBAL(AtomicString, Focus) 51 DEFINE_GLOBAL(AtomicString, Focus)
52 DEFINE_GLOBAL(AtomicString, Hover) 52 DEFINE_GLOBAL(AtomicString, Hover)
53 DEFINE_GLOBAL(AtomicString, Past)
53 DEFINE_GLOBAL(AtomicString, Unresolved) 54 DEFINE_GLOBAL(AtomicString, Unresolved)
54 55
55 void init() 56 void init()
56 { 57 {
57 ASSERT(isMainThread()); 58 ASSERT(isMainThread());
58 59
59 new (NotNull, (void*)&Active) AtomicString(":active", AtomicString::Construc tFromLiteral); 60 new (NotNull, (void*)&Active) AtomicString(":active", AtomicString::Construc tFromLiteral);
60 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral); 61 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral);
61 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral); 62 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral);
62 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF romLiteral); 63 new (NotNull, (void*)&Hover) AtomicString(":hover", AtomicString::ConstructF romLiteral);
64 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro mLiteral);
63 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral); 65 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral);
64 } 66 }
65 67
66 } // namespace StyleChangeExtraData 68 } // namespace StyleChangeExtraData
67 69
68 } // namespace blink 70 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/StyleChangeReason.h ('k') | Source/core/html/track/CueTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698