Index: public/web/WebAutocompleteParams.h |
diff --git a/public/web/WebColorSuggestion.h b/public/web/WebAutocompleteParams.h |
similarity index 79% |
copy from public/web/WebColorSuggestion.h |
copy to public/web/WebAutocompleteParams.h |
index f1b838a53c54ab5b1220fa8000189523bcaa0230..028ba814aa3af4515f3f58d76d444fa7a0549dc9 100644 |
--- a/public/web/WebColorSuggestion.h |
+++ b/public/web/WebAutocompleteParams.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2013 Google Inc. All rights reserved. |
+ * Copyright (C) 2014 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,28 +28,32 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebColorSuggestion_h |
-#define WebColorSuggestion_h |
+#ifndef WebAutocompleteParams_h |
+#define WebAutocompleteParams_h |
-#include "public/platform/WebColor.h" |
#include "public/platform/WebString.h" |
+#if BLINK_IMPLEMENTATION |
namespace WebCore { |
-struct ColorSuggestion; |
+class Dictionary; |
} |
+#endif |
namespace blink { |
-struct WebColorSuggestion { |
- WebColor color; |
- WebString label; |
+struct WebAutocompleteParams { |
+ double transactionAmount; |
+ |
+ WebString transactionCurrency; |
+ |
+ WebAutocompleteParams() |
+ : transactionAmount(0) { } |
#if BLINK_IMPLEMENTATION |
- WebColorSuggestion(const WebCore::ColorSuggestion&); |
- WebColorSuggestion& operator=(const WebCore::ColorSuggestion&); |
+ WebAutocompleteParams(const WebCore::Dictionary&); |
#endif |
}; |
} // namespace blink |
-#endif // WebColorSuggestion_h |
+#endif // WebAutocompleteParams_h |