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

Unified Diff: public/web/WebColorSuggestion.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/web/web.gypi ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebColorSuggestion.h
diff --git a/public/web/WebPluginParams.h b/public/web/WebColorSuggestion.h
similarity index 77%
copy from public/web/WebPluginParams.h
copy to public/web/WebColorSuggestion.h
index c76a8797374505c041f6a7197e16954236081bd4..1ccf3e2551e1cba061147a2b8176badea95439eb 100644
--- a/public/web/WebPluginParams.h
+++ b/public/web/WebColorSuggestion.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
+ * Copyright 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -28,21 +28,26 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebPluginParams_h
-#define WebPluginParams_h
+#ifndef WebColorSuggestion_h
+#define WebColorSuggestion_h
+#include "../platform/WebColor.h"
tkent 2013/11/10 22:20:13 Please write it as #include "public/platform/Web
keishi 2013/11/11 01:22:21 Done.
#include "../platform/WebString.h"
-#include "../platform/WebURL.h"
-#include "../platform/WebVector.h"
+
+namespace WebCore {
+struct ColorSuggestion;
+}
namespace blink {
-struct WebPluginParams {
- WebURL url;
- WebString mimeType;
- WebVector<WebString> attributeNames;
- WebVector<WebString> attributeValues;
- bool loadManually;
+struct WebColorSuggestion {
+ WebColor color;
+ WebString label;
+
+#if BLINK_IMPLEMENTATION
+ BLINK_COMMON_EXPORT WebColorSuggestion(const WebCore::ColorSuggestion&);
+ BLINK_COMMON_EXPORT WebColorSuggestion& operator=(const WebCore::ColorSuggestion&);
+#endif
};
} // namespace blink
« no previous file with comments | « Source/web/web.gypi ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698