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

Side by Side Diff: Source/core/html/HTMLDataListElement.cpp

Issue 15422005: Remove unused includes from core/html .cpp files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 7 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/html/HTMLCollection.cpp ('k') | Source/core/html/HTMLDetailsElement.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 14 matching lines...) Expand all
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "config.h" 32 #include "config.h"
33 #include "core/html/HTMLDataListElement.h" 33 #include "core/html/HTMLDataListElement.h"
34 34
35 #include "HTMLNames.h"
36 #include "core/dom/IdTargetObserverRegistry.h" 35 #include "core/dom/IdTargetObserverRegistry.h"
37 #include "core/page/UseCounter.h" 36 #include "core/page/UseCounter.h"
38 37
39 namespace WebCore { 38 namespace WebCore {
40 39
41 inline HTMLDataListElement::HTMLDataListElement(const QualifiedName& tagName, Do cument* document) 40 inline HTMLDataListElement::HTMLDataListElement(const QualifiedName& tagName, Do cument* document)
42 : HTMLElement(tagName, document) 41 : HTMLElement(tagName, document)
43 { 42 {
44 ScriptWrappable::init(this); 43 ScriptWrappable::init(this);
45 } 44 }
46 45
47 PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(const QualifiedName& tagName, Document* document) 46 PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(const QualifiedName& tagName, Document* document)
48 { 47 {
49 UseCounter::count(document, UseCounter::DataListElement); 48 UseCounter::count(document, UseCounter::DataListElement);
50 return adoptRef(new HTMLDataListElement(tagName, document)); 49 return adoptRef(new HTMLDataListElement(tagName, document));
51 } 50 }
52 51
53 PassRefPtr<HTMLCollection> HTMLDataListElement::options() 52 PassRefPtr<HTMLCollection> HTMLDataListElement::options()
54 { 53 {
55 return ensureCachedHTMLCollection(DataListOptions); 54 return ensureCachedHTMLCollection(DataListOptions);
56 } 55 }
57 56
58 void HTMLDataListElement::optionElementChildrenChanged() 57 void HTMLDataListElement::optionElementChildrenChanged()
59 { 58 {
60 treeScope()->idTargetObserverRegistry().notifyObservers(getIdAttribute()); 59 treeScope()->idTargetObserverRegistry().notifyObservers(getIdAttribute());
61 } 60 }
62 61
63 } // namespace WebCore 62 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/HTMLCollection.cpp ('k') | Source/core/html/HTMLDetailsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698