diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/forms/ColorInputType.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/forms/ColorInputType.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/forms/ColorInputType.h b/chromium/third_party/WebKit/Source/core/html/forms/ColorInputType.h index b0f7ba3d02b..366451bddd2 100644 --- a/chromium/third_party/WebKit/Source/core/html/forms/ColorInputType.h +++ b/chromium/third_party/WebKit/Source/core/html/forms/ColorInputType.h @@ -36,9 +36,11 @@ namespace WebCore { -class ColorInputType : public BaseClickableWithKeyInputType, public ColorChooserClient { +class ColorChooser; + +class ColorInputType FINAL : public BaseClickableWithKeyInputType, public ColorChooserClient { public: - static PassRefPtr<InputType> create(HTMLInputElement&); + static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&); virtual ~ColorInputType(); // ColorChooserClient implementation. @@ -63,10 +65,10 @@ private: virtual void closePopupView() OVERRIDE; virtual bool shouldRespectListAttribute() OVERRIDE; virtual bool typeMismatchFor(const String&) const OVERRIDE; + virtual void updateView() OVERRIDE; Color valueAsColor() const; void endColorChooser(); - void updateColorSwatch(); HTMLElement* shadowColorSwatch() const; OwnPtr<ColorChooser> m_chooser; |