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

Side by Side Diff: Source/core/dom/custom/CustomElementRegistry.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 protected: 56 protected:
57 friend class CustomElementRegistrationContext; 57 friend class CustomElementRegistrationContext;
58 58
59 CustomElementRegistry() : m_documentWasDetached(false) { } 59 CustomElementRegistry() : m_documentWasDetached(false) { }
60 60
61 CustomElementDefinition* registerElement(Document*, CustomElementConstructor Builder*, const AtomicString& name, CustomElement::NameSet validNames, Exception State&); 61 CustomElementDefinition* registerElement(Document*, CustomElementConstructor Builder*, const AtomicString& name, CustomElement::NameSet validNames, Exception State&);
62 CustomElementDefinition* find(const CustomElementDescriptor&) const; 62 CustomElementDefinition* find(const CustomElementDescriptor&) const;
63 63
64 private: 64 private:
65 typedef WillBeHeapHashMap<CustomElementDescriptor, RefPtrWillBeMember<Custom ElementDefinition> > DefinitionMap; 65 typedef WillBeHeapHashMap<CustomElementDescriptor, RefPtrWillBeMember<Custom ElementDefinition>> DefinitionMap;
66 DefinitionMap m_definitions; 66 DefinitionMap m_definitions;
67 HashSet<AtomicString> m_registeredTypeNames; 67 HashSet<AtomicString> m_registeredTypeNames;
68 bool m_documentWasDetached; 68 bool m_documentWasDetached;
69 }; 69 };
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // CustomElementRegistry_h 73 #endif // CustomElementRegistry_h
OLDNEW
« no previous file with comments | « Source/core/dom/custom/CustomElementObserver.cpp ('k') | Source/core/dom/custom/CustomElementScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698