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

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

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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
(...skipping 25 matching lines...) Expand all
36 const char Shadow[] = "Shadow"; 36 const char Shadow[] = "Shadow";
37 const char SiblingSelector[] = "SiblingSelector"; 37 const char SiblingSelector[] = "SiblingSelector";
38 const char StyleInvalidator[] = "StyleInvalidator"; 38 const char StyleInvalidator[] = "StyleInvalidator";
39 const char StyleSheetChange[] = "StyleSheetChange"; 39 const char StyleSheetChange[] = "StyleSheetChange";
40 const char Validate[] = "Validate"; 40 const char Validate[] = "Validate";
41 const char ViewportUnits[] = "ViewportUnits"; 41 const char ViewportUnits[] = "ViewportUnits";
42 const char VisitedLink[] = "VisitedLink"; 42 const char VisitedLink[] = "VisitedLink";
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 StyleChangeReason
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, Past)
54 DEFINE_GLOBAL(AtomicString, Unresolved) 54 DEFINE_GLOBAL(AtomicString, Unresolved)
55 55
56 void init() 56 void init()
57 { 57 {
58 ASSERT(isMainThread()); 58 ASSERT(isMainThread());
59 59
60 new (NotNull, (void*)&Active) AtomicString(":active", AtomicString::Construc tFromLiteral); 60 new (NotNull, (void*)&Active) AtomicString(":active", AtomicString::Construc tFromLiteral);
61 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral); 61 new (NotNull, (void*)&Disabled) AtomicString(":disabled", AtomicString::Cons tructFromLiteral);
62 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral); 62 new (NotNull, (void*)&Focus) AtomicString(":focus", AtomicString::ConstructF romLiteral);
63 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); 64 new (NotNull, (void*)&Past) AtomicString(":past", AtomicString::ConstructFro mLiteral);
65 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral); 65 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved", AtomicString:: ConstructFromLiteral);
66 } 66 }
67 67
68 } // namespace StyleChangeExtraData 68 } // namespace StyleChangeExtraData
69 69
70 } // namespace blink 70 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | third_party/WebKit/Source/core/dom/StyleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698