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

Unified Diff: Source/core/html/HTMLInputElement.h

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.h
diff --git a/Source/core/html/HTMLInputElement.h b/Source/core/html/HTMLInputElement.h
index 7adc4401b8b65b928e99e790e1782af7478a3499..eaed56fa953025a123c10d664c861a24fbf2c811 100644
--- a/Source/core/html/HTMLInputElement.h
+++ b/Source/core/html/HTMLInputElement.h
@@ -45,12 +45,12 @@ struct DateTimeChooserParameters;
class HTMLInputElement : public HTMLTextFormControlElement {
public:
- static PassRefPtr<HTMLInputElement> create(const QualifiedName&, Document*, HTMLFormElement*, bool createdByParser);
+ static Result<HTMLInputElement> create(const QualifiedName&, Document*, HTMLFormElement*, bool createdByParser);
virtual ~HTMLInputElement();
DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange);
- virtual HTMLInputElement* toInputElement() { return this; }
+ virtual Result<HTMLInputElement> toInputElement() { return Handle<HTMLInputElement>(this); }
virtual bool shouldAutocomplete() const;
@@ -205,7 +205,7 @@ public:
Vector<String> acceptMIMETypes();
Vector<String> acceptFileExtensions();
- String accept() const;
+ String acceptAttribute() const;
String alt() const;
void setSize(unsigned);
@@ -248,7 +248,7 @@ public:
void listAttributeTargetChanged();
#endif
- HTMLInputElement* checkedRadioButtonForGroup() const;
+ Result<HTMLInputElement> checkedRadioButtonForGroup() const;
bool isInRequiredRadioButtonGroup();
// Functions for InputType classes.
@@ -298,6 +298,8 @@ public:
bool setupDateTimeChooserParameters(DateTimeChooserParameters&);
virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
+ virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
+
protected:
HTMLInputElement(const QualifiedName&, Document*, HTMLFormElement*, bool createdByParser);
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698