summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 22:27:39 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 22:27:39 +0000
commit6f863cd632d64de8947b89044594d19ee3e95298 (patch)
tree080fe996c986bc5fa6d69ce065738b2fa1e599e5 /chrome/plugin
parent88e7284573598db75013dbcbd9debb311b1e255c (diff)
downloadchromium_src-6f863cd632d64de8947b89044594d19ee3e95298.zip
chromium_src-6f863cd632d64de8947b89044594d19ee3e95298.tar.gz
chromium_src-6f863cd632d64de8947b89044594d19ee3e95298.tar.bz2
Fixing build bustage. Adding files which were part of the original change
branch r6396, which was reverted partially. TBR=jam Review URL: http://codereview.chromium.org/13215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/webplugin_proxy.cc4
-rw-r--r--chrome/plugin/webplugin_proxy.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc
index 5a94445..7ab78629 100644
--- a/chrome/plugin/webplugin_proxy.cc
+++ b/chrome/plugin/webplugin_proxy.cc
@@ -373,6 +373,10 @@ void WebPluginProxy::UpdateTransform() {
SetWorldTransform(windowless_hdc_, &xf);
}
+void WebPluginProxy::CancelDocumentLoad() {
+ Send(new PluginHostMsg_CancelDocumentLoad(route_id_));
+}
+
void WebPluginProxy::InitiateHTTPRangeRequest(const char* url,
const char* range_info,
void* existing_stream,
diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h
index b578734..c2cefc7 100644
--- a/chrome/plugin/webplugin_proxy.h
+++ b/chrome/plugin/webplugin_proxy.h
@@ -86,6 +86,8 @@ class WebPluginProxy : public WebPlugin {
const base::SharedMemoryHandle& windowless_buffer,
const base::SharedMemoryHandle& background_buffer);
+ void CancelDocumentLoad();
+
void InitiateHTTPRangeRequest(const char* url,
const char* range_info,
void* existing_stream,