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

Unified Diff: webkit/glue/web_intent_data.h

Issue 9692017: An internal intents dispatcher useful for initiating an intent from the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months 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
Index: webkit/glue/web_intent_data.h
diff --git a/webkit/glue/web_intent_data.h b/webkit/glue/web_intent_data.h
index 540cd159a30eae7c275757d45218c92e948f1add..5da5de24a7bc38d01c64d4ffaf2f978ab6dc60ee 100644
--- a/webkit/glue/web_intent_data.h
+++ b/webkit/glue/web_intent_data.h
@@ -24,8 +24,20 @@ struct WEBKIT_GLUE_EXPORT WebIntentData {
// SerializedScriptObject.
string16 data;
+ // String payload data.
+ string16 unserialized_data;
+
+ enum {
+ SERIALIZED = 0,
+ UNSERIALIZED = 1
+ };
+ int data_type;
James Hawkins 2012/03/12 23:19:11 Can we not use a named enum for this?
Greg Billock 2012/03/12 23:52:22 Done.
+
WebIntentData();
WebIntentData(const WebKit::WebIntent& intent);
+ WebIntentData(const string16& action_in,
+ const string16& type_in,
+ const string16& unserialized_data_in);
~WebIntentData();
};

Powered by Google App Engine
This is Rietveld 408576698