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

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

Issue 507693003: Rename didEnterDocument and didLeaveDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 3 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/Element.cpp ('k') | Source/core/dom/custom/CustomElement.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) 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // API to notify of document-level changes 59 // API to notify of document-level changes
60 static CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*); 60 static CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*);
61 static void didFinishLoadingImport(Document& master); 61 static void didFinishLoadingImport(Document& master);
62 62
63 // API for registration contexts 63 // API for registration contexts
64 static void define(Element*, PassRefPtr<CustomElementDefinition>); 64 static void define(Element*, PassRefPtr<CustomElementDefinition>);
65 65
66 // API for Element to kick off changes 66 // API for Element to kick off changes
67 67
68 static void attributeDidChange(Element*, const AtomicString& name, const Ato micString& oldValue, const AtomicString& newValue); 68 static void attributeDidChange(Element*, const AtomicString& name, const Ato micString& oldValue, const AtomicString& newValue);
69 static void didEnterDocument(Element*, const Document&); 69 static void didAttach(Element*, const Document&);
70 static void didLeaveDocument(Element*, const Document&); 70 static void didDetach(Element*, const Document&);
71 static void wasDestroyed(Element*); 71 static void wasDestroyed(Element*);
72 72
73 private: 73 private:
74 CustomElement(); 74 CustomElement();
75 75
76 static Vector<AtomicString>& embedderCustomElementNames(); 76 static Vector<AtomicString>& embedderCustomElementNames();
77 }; 77 };
78 78
79 } 79 }
80 80
81 #endif // CustomElement_h 81 #endif // CustomElement_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698