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

Unified Diff: ppapi/api/dev/ppb_testing_dev.idl

Issue 8840007: GetDocumentURL is added to PPB_Testing_Dev. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed codereview issues. Created 9 years 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 | « no previous file | ppapi/api/dev/ppb_url_util_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/ppb_testing_dev.idl
diff --git a/ppapi/api/dev/ppb_testing_dev.idl b/ppapi/api/dev/ppb_testing_dev.idl
index 2ec6832e8bad2cd8ba992af4e1d7c19c8645afc8..9e51b42a4e37f1249f7788650af299c02c9a7388 100644
--- a/ppapi/api/dev/ppb_testing_dev.idl
+++ b/ppapi/api/dev/ppb_testing_dev.idl
@@ -11,7 +11,8 @@
label Chrome {
M14 = 0.7,
- M15 = 0.8
+ M15 = 0.8,
+ M17 = 0.9
};
interface PPB_Testing_Dev {
@@ -102,4 +103,15 @@ interface PPB_Testing_Dev {
[version=0.8]
void SimulateInputEvent([in] PP_Instance instance,
[in] PP_Resource input_event);
+
+ /**
+ * Returns the URL for the document. This is a safe way to retrieve
+ * window.location.href.
+ * If the canonicalized URL is valid, the method will parse the URL
+ * and fill in the components structure. This pointer may be NULL
+ * to specify that no component information is necessary.
+ */
+ [version=0.9]
+ PP_Var GetDocumentURL([in] PP_Instance instance,
+ [out] PP_URLComponents_Dev components);
};
« no previous file with comments | « no previous file | ppapi/api/dev/ppb_url_util_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698