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

Unified Diff: Source/core/html/forms/FileInputType.h

Issue 27746003: Have InputType factories take an HTMLInputElement reference in parameter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/forms/EmailInputType.cpp ('k') | Source/core/html/forms/FileInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/FileInputType.h
diff --git a/Source/core/html/forms/FileInputType.h b/Source/core/html/forms/FileInputType.h
index 8a3006556b22ce4fd5e0960c82228337e7d4a088..a91ba75e2be43a2e3ffc924efe5a4f0ada0fd104 100644
--- a/Source/core/html/forms/FileInputType.h
+++ b/Source/core/html/forms/FileInputType.h
@@ -43,11 +43,11 @@ class FileList;
class FileInputType : public BaseClickableWithKeyInputType, private FileChooserClient {
public:
- static PassRefPtr<InputType> create(HTMLInputElement*);
+ static PassRefPtr<InputType> create(HTMLInputElement&);
static Vector<FileChooserFileInfo> filesFromFormControlState(const FormControlState&);
private:
- FileInputType(HTMLInputElement*);
+ FileInputType(HTMLInputElement&);
virtual const AtomicString& formControlType() const OVERRIDE;
virtual FormControlState saveFormControlState() const OVERRIDE;
virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
« no previous file with comments | « Source/core/html/forms/EmailInputType.cpp ('k') | Source/core/html/forms/FileInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698