summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_instance_proxy.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 17:24:20 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 17:24:20 +0000
commita8e72141bdee8251279cb47a7e55cb70ab878dd3 (patch)
treee21a602391c211e0b488a2401a45768824b4c2ca /ppapi/proxy/ppb_instance_proxy.h
parent0199dbca65797698b41a7480612b52fcbeed3b78 (diff)
downloadchromium_src-a8e72141bdee8251279cb47a7e55cb70ab878dd3.zip
chromium_src-a8e72141bdee8251279cb47a7e55cb70ab878dd3.tar.gz
chromium_src-a8e72141bdee8251279cb47a7e55cb70ab878dd3.tar.bz2
PPAPI: Make the proxy not issue redundant or stale calls to RequestSurroundingText().
(The problem still exists in-process, and will be taken care of separately.) BUG=143386 Review URL: https://chromiumcodereview.appspot.com/10823418 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_instance_proxy.h')
-rw-r--r--ppapi/proxy/ppb_instance_proxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_instance_proxy.h b/ppapi/proxy/ppb_instance_proxy.h
index f7d2905..1585f75 100644
--- a/ppapi/proxy/ppb_instance_proxy.h
+++ b/ppapi/proxy/ppb_instance_proxy.h
@@ -247,6 +247,9 @@ class PPB_Instance_Proxy : public InterfaceProxy,
void MouseLockCompleteInHost(int32_t result, PP_Instance instance);
+ // Other helpers.
+ void CancelAnyPendingRequestSurroundingText(PP_Instance instance);
+
ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_;
};