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

Side by Side Diff: Source/core/dom/shadow/ShadowRoot.h

Issue 1013213002: Fix template angle bracket syntax in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/dom/shadow/InsertionPoint.cpp ('k') | Source/core/dom/shadow/ShadowRoot.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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // For Internals, don't use this. 97 // For Internals, don't use this.
98 unsigned childShadowRootCount() const; 98 unsigned childShadowRootCount() const;
99 unsigned numberOfStyles() const { return m_numberOfStyles; } 99 unsigned numberOfStyles() const { return m_numberOfStyles; }
100 100
101 HTMLShadowElement* shadowInsertionPointOfYoungerShadowRoot() const; 101 HTMLShadowElement* shadowInsertionPointOfYoungerShadowRoot() const;
102 void setShadowInsertionPointOfYoungerShadowRoot(PassRefPtrWillBeRawPtr<HTMLS hadowElement>); 102 void setShadowInsertionPointOfYoungerShadowRoot(PassRefPtrWillBeRawPtr<HTMLS hadowElement>);
103 103
104 void didAddInsertionPoint(InsertionPoint*); 104 void didAddInsertionPoint(InsertionPoint*);
105 void didRemoveInsertionPoint(InsertionPoint*); 105 void didRemoveInsertionPoint(InsertionPoint*);
106 const WillBeHeapVector<RefPtrWillBeMember<InsertionPoint> >& descendantInser tionPoints(); 106 const WillBeHeapVector<RefPtrWillBeMember<InsertionPoint>>& descendantInsert ionPoints();
107 107
108 ShadowRootType type() const { return static_cast<ShadowRootType>(m_type); } 108 ShadowRootType type() const { return static_cast<ShadowRootType>(m_type); }
109 109
110 // Make protected methods from base class public here. 110 // Make protected methods from base class public here.
111 using TreeScope::setDocument; 111 using TreeScope::setDocument;
112 using TreeScope::setParentTreeScope; 112 using TreeScope::setParentTreeScope;
113 113
114 public: 114 public:
115 Element* activeElement() const; 115 Element* activeElement() const;
116 116
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 return adjustedFocusedElement(); 162 return adjustedFocusedElement();
163 } 163 }
164 164
165 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot()); 165 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot());
166 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad owRoot(), treeScope.rootNode().isShadowRoot()); 166 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad owRoot(), treeScope.rootNode().isShadowRoot());
167 DEFINE_TYPE_CASTS(TreeScope, ShadowRoot, shadowRoot, true, true); 167 DEFINE_TYPE_CASTS(TreeScope, ShadowRoot, shadowRoot, true, true);
168 168
169 } // namespace blink 169 } // namespace blink
170 170
171 #endif // ShadowRoot_h 171 #endif // ShadowRoot_h
OLDNEW
« no previous file with comments | « Source/core/dom/shadow/InsertionPoint.cpp ('k') | Source/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698