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

Unified Diff: Source/core/rendering/RenderFileUploadControl.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch 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/rendering/RenderFieldset.h ('k') | Source/core/rendering/RenderFlexibleBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderFileUploadControl.h
diff --git a/Source/core/rendering/RenderFileUploadControl.h b/Source/core/rendering/RenderFileUploadControl.h
index 2f40d612e01ddbed73b55b00d19dea3ea3878e0a..147248169d333a52b7a1645ba10ac31b54003a88 100644
--- a/Source/core/rendering/RenderFileUploadControl.h
+++ b/Source/core/rendering/RenderFileUploadControl.h
@@ -31,12 +31,12 @@ class HTMLInputElement;
// sufficient space to draw a file icon and filename. The RenderButton has a shadow node
// associated with it to receive click/hover events.
-class RenderFileUploadControl FINAL : public RenderBlockFlow {
+class RenderFileUploadControl final : public RenderBlockFlow {
public:
RenderFileUploadControl(HTMLInputElement*);
virtual ~RenderFileUploadControl();
- virtual bool isFileUploadControl() const OVERRIDE { return true; }
+ virtual bool isFileUploadControl() const override { return true; }
String buttonValue();
String fileTextValue() const;
@@ -47,16 +47,16 @@ public:
static const int afterButtonSpacing = 4;
private:
- virtual const char* renderName() const OVERRIDE { return "RenderFileUploadControl"; }
+ virtual const char* renderName() const override { return "RenderFileUploadControl"; }
- virtual void updateFromElement() OVERRIDE;
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE;
- virtual void computePreferredLogicalWidths() OVERRIDE;
- virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE;
+ virtual void updateFromElement() override;
+ virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
+ virtual void computePreferredLogicalWidths() override;
+ virtual void paintObject(PaintInfo&, const LayoutPoint&) override;
int maxFilenameWidth() const;
- virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE;
+ virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override;
bool m_canReceiveDroppedFiles;
};
« no previous file with comments | « Source/core/rendering/RenderFieldset.h ('k') | Source/core/rendering/RenderFlexibleBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698