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

Side by Side Diff: sky/engine/core/dom/custom/custom_element.h

Issue 946083003: Rename Sky's custom2 to custom (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/custom/custom_element.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef SKY_ENGINE_CORE_DOM_CUSTOM_NEW_CUSTOM_ELEMENT_H_ 5 #ifndef SKY_ENGINE_CORE_DOM_CUSTOM_NEW_CUSTOM_ELEMENT_H_
6 #define SKY_ENGINE_CORE_DOM_CUSTOM_NEW_CUSTOM_ELEMENT_H_ 6 #define SKY_ENGINE_CORE_DOM_CUSTOM_NEW_CUSTOM_ELEMENT_H_
7 7
8 #include "sky/engine/wtf/text/AtomicString.h" 8 #include "sky/engine/wtf/text/AtomicString.h"
9 9
10 namespace blink { 10 namespace blink {
11 class Document; 11 class Document;
12 class Element; 12 class Element;
13 13
14 class NewCustomElement { 14 class CustomElement {
15 public: 15 public:
16 static void AttributeDidChange(Element*, const AtomicString& name, const Atomi cString& oldValue, const AtomicString& newValue); 16 static void AttributeDidChange(Element*, const AtomicString& name, const Atomi cString& oldValue, const AtomicString& newValue);
17 static void DidAttach(Element*, Document&); 17 static void DidAttach(Element*, Document&);
18 static void DidDetach(Element*, Document&); 18 static void DidDetach(Element*, Document&);
19 19
20 private: 20 private:
21 NewCustomElement(); 21 CustomElement();
22 }; 22 };
23 23
24 } // namespace blink 24 } // namespace blink
25 25
26 #endif // SKY_ENGINE_CORE_DOM_CUSTOM_NEW_CUSTOM_ELEMENT_H_ 26 #endif // SKY_ENGINE_CORE_DOM_CUSTOM_NEW_CUSTOM_ELEMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/custom/custom_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698