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

Side by Side Diff: Source/core/html/HTMLFormControlsCollection.h

Issue 23983034: [oilpan] Handlify Node raw pointers in html/ and subclasses of dom/LiveNodeList. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 19 matching lines...) Expand all
30 class FormAssociatedElement; 30 class FormAssociatedElement;
31 class HTMLElement; 31 class HTMLElement;
32 class HTMLImageElement; 32 class HTMLImageElement;
33 class QualifiedName; 33 class QualifiedName;
34 34
35 // This class is just a big hack to find form elements even in malformed HTML el ements. 35 // This class is just a big hack to find form elements even in malformed HTML el ements.
36 // The famous <table><tr><form><td> problem. 36 // The famous <table><tr><form><td> problem.
37 37
38 class HTMLFormControlsCollection : public HTMLCollection { 38 class HTMLFormControlsCollection : public HTMLCollection {
39 public: 39 public:
40 static PassRefPtr<HTMLFormControlsCollection> create(Node*, CollectionType); 40 static PassRefPtr<HTMLFormControlsCollection> create(const Handle<Node>&, Co llectionType);
41 41
42 virtual ~HTMLFormControlsCollection(); 42 virtual ~HTMLFormControlsCollection();
43 43
44 virtual Result<Node> namedItem(const AtomicString& name) const; 44 virtual Result<Node> namedItem(const AtomicString& name) const;
45 45
46 private: 46 private:
47 HTMLFormControlsCollection(Node*); 47 HTMLFormControlsCollection(const Handle<Node>&);
48 48
49 virtual void updateNameCache() const; 49 virtual void updateNameCache() const;
50 50
51 const Vector<Member<FormAssociatedElement> >& formControlElements() const; 51 const Vector<Member<FormAssociatedElement> >& formControlElements() const;
52 const Vector<Member<HTMLImageElement> >& formImageElements() const; 52 const Vector<Member<HTMLImageElement> >& formImageElements() const;
53 virtual Result<Element> virtualItemAfter(unsigned& offsetInArray, const Hand le<Element>&) const OVERRIDE; 53 virtual Result<Element> virtualItemAfter(unsigned& offsetInArray, const Hand le<Element>&) const OVERRIDE;
54 }; 54 };
55 55
56 } // namespace 56 } // namespace
57 57
58 #endif 58 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698