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: 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: 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
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..60b5253f89189a16ff0b5c466f2d68ae966aa16a 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.
+ * The components pointer, if non-NULL and the canonicalized URL is valid,
+ * will identify the components of the resulting URL. Components may be NULL
+ * to specify that no component information is necessary.
bbudge 2011/12/13 18:55:29 A little awkward. How about: If the canonicalized
ygorshenin 2011/12/14 17:41:10 Done.
+ */
+ [version=0.9]
+ PP_Var GetDocumentURL([in] PP_Instance instance,
+ [out] PP_URLComponents_Dev components);
};

Powered by Google App Engine
This is Rietveld 408576698