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

Unified Diff: Source/core/html/forms/ColorInputType.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/CheckboxInputType.h ('k') | Source/core/html/forms/DateInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/ColorInputType.h
diff --git a/Source/core/html/forms/ColorInputType.h b/Source/core/html/forms/ColorInputType.h
index 13adc815a88142b3a3c9ec1f4bd8d4a3745d660d..159f5b33633c23058983cdfd1c3b478f473caef0 100644
--- a/Source/core/html/forms/ColorInputType.h
+++ b/Source/core/html/forms/ColorInputType.h
@@ -38,36 +38,36 @@ namespace blink {
class ColorChooser;
-class ColorInputType FINAL : public BaseClickableWithKeyInputType, public ColorChooserClient {
+class ColorInputType final : public BaseClickableWithKeyInputType, public ColorChooserClient {
public:
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
virtual ~ColorInputType();
// ColorChooserClient implementation.
- virtual void didChooseColor(const Color&) OVERRIDE;
- virtual void didEndChooser() OVERRIDE;
- virtual Element& ownerElement() const OVERRIDE;
- virtual IntRect elementRectRelativeToRootView() const OVERRIDE;
- virtual Color currentColor() OVERRIDE;
- virtual bool shouldShowSuggestions() const OVERRIDE;
- virtual Vector<ColorSuggestion> suggestions() const OVERRIDE;
- ColorChooserClient* colorChooserClient() OVERRIDE;
+ virtual void didChooseColor(const Color&) override;
+ virtual void didEndChooser() override;
+ virtual Element& ownerElement() const override;
+ virtual IntRect elementRectRelativeToRootView() const override;
+ virtual Color currentColor() override;
+ virtual bool shouldShowSuggestions() const override;
+ virtual Vector<ColorSuggestion> suggestions() const override;
+ ColorChooserClient* colorChooserClient() override;
private:
ColorInputType(HTMLInputElement& element) : BaseClickableWithKeyInputType(element) { }
- virtual void countUsage() OVERRIDE;
- virtual const AtomicString& formControlType() const OVERRIDE;
- virtual bool supportsRequired() const OVERRIDE;
- virtual String fallbackValue() const OVERRIDE;
- virtual String sanitizeValue(const String&) const OVERRIDE;
- virtual void createShadowSubtree() OVERRIDE;
- virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavior) OVERRIDE;
- virtual void handleDOMActivateEvent(Event*) OVERRIDE;
- virtual void closePopupView() OVERRIDE;
- virtual bool shouldRespectListAttribute() OVERRIDE;
- virtual bool typeMismatchFor(const String&) const OVERRIDE;
- virtual void updateView() OVERRIDE;
- virtual AXObject* popupRootAXObject() OVERRIDE;
+ virtual void countUsage() override;
+ virtual const AtomicString& formControlType() const override;
+ virtual bool supportsRequired() const override;
+ virtual String fallbackValue() const override;
+ virtual String sanitizeValue(const String&) const override;
+ virtual void createShadowSubtree() override;
+ virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavior) override;
+ virtual void handleDOMActivateEvent(Event*) override;
+ virtual void closePopupView() override;
+ virtual bool shouldRespectListAttribute() override;
+ virtual bool typeMismatchFor(const String&) const override;
+ virtual void updateView() override;
+ virtual AXObject* popupRootAXObject() override;
Color valueAsColor() const;
void endColorChooser();
« no previous file with comments | « Source/core/html/forms/CheckboxInputType.h ('k') | Source/core/html/forms/DateInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698