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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/forms/EmailInputType.h ('k') | Source/core/html/forms/FormController.h » ('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 70c65132a83c8afa18ea879bb5b71e0c11e9d5d8..c234c15ba436e6d50cf4d3b8f71b93d634c13cdf 100644
--- a/Source/core/html/forms/FileInputType.h
+++ b/Source/core/html/forms/FileInputType.h
@@ -42,37 +42,37 @@ namespace blink {
class DragData;
class FileList;
-class FileInputType FINAL : public BaseClickableWithKeyInputType, private FileChooserClient {
+class FileInputType final : public BaseClickableWithKeyInputType, private FileChooserClient {
public:
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
static Vector<FileChooserFileInfo> filesFromFormControlState(const FormControlState&);
private:
FileInputType(HTMLInputElement&);
- virtual const AtomicString& formControlType() const OVERRIDE;
- virtual FormControlState saveFormControlState() const OVERRIDE;
- virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
- virtual bool appendFormData(FormDataList&, bool) const OVERRIDE;
- virtual bool valueMissing(const String&) const OVERRIDE;
- virtual String valueMissingText() const OVERRIDE;
- virtual void handleDOMActivateEvent(Event*) OVERRIDE;
- virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE;
- virtual bool canSetStringValue() const OVERRIDE;
- virtual FileList* files() OVERRIDE;
- virtual void setFiles(FileList*) OVERRIDE;
- virtual bool canSetValue(const String&) OVERRIDE;
- virtual bool getTypeSpecificValue(String&) OVERRIDE; // Checked first, before internal storage or the value attribute.
- virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavior) OVERRIDE;
- virtual bool receiveDroppedFiles(const DragData*) OVERRIDE;
- virtual String droppedFileSystemId() OVERRIDE;
- virtual void createShadowSubtree() OVERRIDE;
- virtual void disabledAttributeChanged() OVERRIDE;
- virtual void multipleAttributeChanged() OVERRIDE;
- virtual String defaultToolTip() const OVERRIDE;
+ virtual const AtomicString& formControlType() const override;
+ virtual FormControlState saveFormControlState() const override;
+ virtual void restoreFormControlState(const FormControlState&) override;
+ virtual bool appendFormData(FormDataList&, bool) const override;
+ virtual bool valueMissing(const String&) const override;
+ virtual String valueMissingText() const override;
+ virtual void handleDOMActivateEvent(Event*) override;
+ virtual RenderObject* createRenderer(RenderStyle*) const override;
+ virtual bool canSetStringValue() const override;
+ virtual FileList* files() override;
+ virtual void setFiles(FileList*) override;
+ virtual bool canSetValue(const String&) override;
+ virtual bool getTypeSpecificValue(String&) override; // Checked first, before internal storage or the value attribute.
+ virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavior) override;
+ virtual bool receiveDroppedFiles(const DragData*) override;
+ virtual String droppedFileSystemId() override;
+ virtual void createShadowSubtree() override;
+ virtual void disabledAttributeChanged() override;
+ virtual void multipleAttributeChanged() override;
+ virtual String defaultToolTip() const override;
// FileChooserClient implementation.
- virtual void filesChosen(const Vector<FileChooserFileInfo>&) OVERRIDE;
+ virtual void filesChosen(const Vector<FileChooserFileInfo>&) override;
FileList* createFileList(const Vector<FileChooserFileInfo>& files) const;
void receiveDropForDirectoryUpload(const Vector<String>&);
« no previous file with comments | « Source/core/html/forms/EmailInputType.h ('k') | Source/core/html/forms/FormController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698