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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/CustomElement.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 AllNames = EmbedderNames | StandardNames 56 AllNames = EmbedderNames | StandardNames
57 }; 57 };
58 static bool isValidName(const AtomicString& name, NameSet validNames = AllNa mes); 58 static bool isValidName(const AtomicString& name, NameSet validNames = AllNa mes);
59 static void addEmbedderCustomElementName(const AtomicString& name); 59 static void addEmbedderCustomElementName(const AtomicString& name);
60 60
61 // API to notify of document-level changes 61 // API to notify of document-level changes
62 static CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*); 62 static CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*);
63 static void didFinishLoadingImport(Document& master); 63 static void didFinishLoadingImport(Document& master);
64 64
65 // API for registration contexts 65 // API for registration contexts
66 static void define(Element*, PassRefPtrWillBeRawPtr<CustomElementDefinition> ); 66 static void define(Element*, RawPtr<CustomElementDefinition>);
67 67
68 // API for Element to kick off changes 68 // API for Element to kick off changes
69 69
70 static void attributeDidChange(Element*, const AtomicString& name, const Ato micString& oldValue, const AtomicString& newValue); 70 static void attributeDidChange(Element*, const AtomicString& name, const Ato micString& oldValue, const AtomicString& newValue);
71 static void didAttach(Element*, const Document&); 71 static void didAttach(Element*, const Document&);
72 static void didDetach(Element*, const Document&); 72 static void didDetach(Element*, const Document&);
73 static void wasDestroyed(Element*); 73 static void wasDestroyed(Element*);
74 74
75 private: 75 private:
76 static Vector<AtomicString>& embedderCustomElementNames(); 76 static Vector<AtomicString>& embedderCustomElementNames();
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // CustomElement_h 81 #endif // CustomElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/XMLDocument.h ('k') | third_party/WebKit/Source/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698