Index: Source/core/html/ColorInputType.h |
diff --git a/Source/core/html/ColorInputType.h b/Source/core/html/ColorInputType.h |
index 79477dd8cc423de6d7fb1926274dcd647549e827..001b9dac1662470e962bed34e9d13f6dcdd5b7de 100644 |
--- a/Source/core/html/ColorInputType.h |
+++ b/Source/core/html/ColorInputType.h |
@@ -50,6 +50,8 @@ public: |
virtual bool shouldShowSuggestions() const OVERRIDE; |
virtual Vector<Color> suggestions() const OVERRIDE; |
+ bool hasChooser() const { return m_chooser.get(); } |
+ |
private: |
ColorInputType(HTMLInputElement* element) : BaseClickableWithKeyInputType(element) { } |
virtual void attach() OVERRIDE; |