summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authorkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-03 06:55:14 +0000
committerkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-03 06:55:14 +0000
commit5eda962962d8b405733cd9a5184b367070096dea (patch)
tree76cc3b970a04b7630956a4bab2bf342082b54e1b /ppapi/api
parentc02f1bab5a382072c5488762038435a80dc10e67 (diff)
downloadchromium_src-5eda962962d8b405733cd9a5184b367070096dea.zip
chromium_src-5eda962962d8b405733cd9a5184b367070096dea.tar.gz
chromium_src-5eda962962d8b405733cd9a5184b367070096dea.tar.bz2
Have the PDF plugin eagerly notify the host of the link under the cursor.
We do this so the host can synchronously query the link under the cursor for the out of process PDF plugin. Review URL: https://codereview.chromium.org/135853009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/finish_writing_these/ppb_pdf.idl9
1 files changed, 8 insertions, 1 deletions
diff --git a/ppapi/api/private/finish_writing_these/ppb_pdf.idl b/ppapi/api/private/finish_writing_these/ppb_pdf.idl
index adb2c75..20e077f 100644
--- a/ppapi/api/private/finish_writing_these/ppb_pdf.idl
+++ b/ppapi/api/private/finish_writing_these/ppb_pdf.idl
@@ -151,8 +151,15 @@ interface PPB_PDF_0_1 {
PP_Bool IsOutOfProcess(
[in] PP_Instance instance);
- /* Sets the selected text of the plugin. */
+ /* Sets the selected text of the plugin. If |selected_text| is empty, then no
+ * text is selected. */
void SetSelectedText(
[in] PP_Instance instance,
[in] str_t selected_text);
+
+ /* Sets the link under the cursor. If |url| is empty, then no link is under
+ * the cursor. */
+ void SetLinkUnderCursor(
+ [in] PP_Instance instance,
+ [in] str_t url);
};