Index: public/web/WebTransitionElementData.h |
diff --git a/public/web/WebPluginParams.h b/public/web/WebTransitionElementData.h |
similarity index 71% |
copy from public/web/WebPluginParams.h |
copy to public/web/WebTransitionElementData.h |
index c76a8797374505c041f6a7197e16954236081bd4..3a8537f47151037bf36360f79a1b203489f5d3c4 100644 |
--- a/public/web/WebPluginParams.h |
+++ b/public/web/WebTransitionElementData.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2009 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,21 +28,31 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebPluginParams_h |
-#define WebPluginParams_h |
+#ifndef WebTransitionElementData_h |
+#define WebTransitionElementData_h |
+#include "../platform/WebRect.h" |
#include "../platform/WebString.h" |
-#include "../platform/WebURL.h" |
#include "../platform/WebVector.h" |
namespace blink { |
-struct WebPluginParams { |
- WebURL url; |
- WebString mimeType; |
- WebVector<WebString> attributeNames; |
- WebVector<WebString> attributeValues; |
- bool loadManually; |
+struct WebTransitionElement { |
+ WebString id; |
+ WebRect rect; |
+}; |
+ |
+struct WebTransitionElementData { |
+ WebString scope; |
+ WebString selector; |
+ WebString markup; |
+ WebVector<WebTransitionElement> elements; |
+ |
+ WebTransitionElementData(const WebString& scope, const WebString& selector, const WebString& markup, const WebVector<WebTransitionElement>& elements) |
+ : scope(scope) |
+ , selector(selector) |
+ , markup(markup) |
+ , elements(elements) { } |
}; |
} // namespace blink |