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

Unified Diff: Source/platform/ColorChooserClient.h

Issue 23236002: Prepare for color input datalist support on Android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/RenderThemeChromiumAndroid.cpp ('k') | Source/platform/ColorSuggestion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/ColorChooserClient.h
diff --git a/Source/platform/ColorChooserClient.h b/Source/platform/ColorChooserClient.h
index 48e9443f14e94e47ea8e47b3bb91b92fee6f94aa..b7a981b0653bb4180eb72df7e85e122acf009773 100644
--- a/Source/platform/ColorChooserClient.h
+++ b/Source/platform/ColorChooserClient.h
@@ -32,6 +32,7 @@
#define ColorChooserClient_h
#include "platform/ColorChooser.h"
+#include "platform/ColorSuggestion.h"
#include "platform/PlatformExport.h"
#include "platform/geometry/IntRect.h"
#include "wtf/OwnPtr.h"
@@ -40,8 +41,6 @@
namespace WebCore {
-class Color;
-
class PLATFORM_EXPORT ColorChooserClient {
public:
virtual ~ColorChooserClient();
@@ -51,7 +50,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
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumAndroid.cpp ('k') | Source/platform/ColorSuggestion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698