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

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

Issue 598593006: Remove forward declarations from Source/core/dom/custom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Nits Created 6 years, 2 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 | « no previous file | Source/core/dom/custom/CustomElementAsyncImportMicrotaskQueue.h » ('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 25 matching lines...) Expand all
36 #include "wtf/Noncopyable.h" 36 #include "wtf/Noncopyable.h"
37 #include "wtf/PassRefPtr.h" 37 #include "wtf/PassRefPtr.h"
38 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
39 #include "wtf/Vector.h" 39 #include "wtf/Vector.h"
40 #include "wtf/text/AtomicString.h" 40 #include "wtf/text/AtomicString.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class CustomElementMicrotaskImportStep; 44 class CustomElementMicrotaskImportStep;
45 class Document; 45 class Document;
46 class Element;
47 class HTMLImportChild; 46 class HTMLImportChild;
48 47
49 class CustomElement { 48 class CustomElement {
50 public: 49 public:
51 enum NameSet { 50 enum NameSet {
52 EmbedderNames = 1 << 0, 51 EmbedderNames = 1 << 0,
53 StandardNames = 1 << 1, 52 StandardNames = 1 << 1,
54 AllNames = EmbedderNames | StandardNames 53 AllNames = EmbedderNames | StandardNames
55 }; 54 };
56 static bool isValidName(const AtomicString& name, NameSet validNames = AllNa mes); 55 static bool isValidName(const AtomicString& name, NameSet validNames = AllNa mes);
(...skipping 12 matching lines...) Expand all
69 static void didAttach(Element*, const Document&); 68 static void didAttach(Element*, const Document&);
70 static void didDetach(Element*, const Document&); 69 static void didDetach(Element*, const Document&);
71 static void wasDestroyed(Element*); 70 static void wasDestroyed(Element*);
72 71
73 private: 72 private:
74 CustomElement(); 73 CustomElement();
75 74
76 static Vector<AtomicString>& embedderCustomElementNames(); 75 static Vector<AtomicString>& embedderCustomElementNames();
77 }; 76 };
78 77
79 } 78 } // namespace blink
80 79
81 #endif // CustomElement_h 80 #endif // CustomElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/custom/CustomElementAsyncImportMicrotaskQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698