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

Unified Diff: Source/core/platform/ColorChooserClient.h

Issue 23236002: Prepare for color input datalist support on Android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 7 years, 4 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
Index: Source/core/platform/ColorChooserClient.h
diff --git a/Source/core/platform/ColorChooserClient.h b/Source/core/platform/ColorChooserClient.h
index ba00ba580edfafcc155d95c6974f27efd7880059..ea2105def99f65a73317f8b9a06cacac923f9a26 100644
--- a/Source/core/platform/ColorChooserClient.h
+++ b/Source/core/platform/ColorChooserClient.h
@@ -32,6 +32,7 @@
#define ColorChooserClient_h
#include "core/platform/ColorChooser.h"
+#include "core/platform/ColorSuggestion.h"
#include "core/platform/graphics/IntRect.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -39,8 +40,6 @@
namespace WebCore {
-class Color;
-
class ColorChooserClient {
public:
virtual ~ColorChooserClient() { }
@@ -50,7 +49,7 @@ public:
virtual IntRect elementRectRelativeToRootView() const = 0;
virtual Color currentColor() = 0;
virtual bool shouldShowSuggestions() const = 0;
- virtual Vector<Color> suggestions() const = 0;
+ virtual Vector<ColorSuggestion> suggestions() const = 0;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698