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 |