summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/pepper_plugin_delegate_impl.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-12 00:16:47 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-12 00:16:47 +0000
commit410caed3335c728c02133a37a629b58f0b6c8286 (patch)
treec2b4091a7a7ee29e9fae64a33f12fd99fea0384d /chrome/renderer/pepper_plugin_delegate_impl.cc
parent547591aa666ee2f4a9c141832e928511d70ddf3e (diff)
downloadchromium_src-410caed3335c728c02133a37a629b58f0b6c8286.zip
chromium_src-410caed3335c728c02133a37a629b58f0b6c8286.tar.gz
chromium_src-410caed3335c728c02133a37a629b58f0b6c8286.tar.bz2
Add private pepper API to keep the throbber spinning while PDFs are loading.
BUG=58795 Review URL: http://codereview.chromium.org/3685003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/pepper_plugin_delegate_impl.cc')
-rw-r--r--chrome/renderer/pepper_plugin_delegate_impl.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/renderer/pepper_plugin_delegate_impl.cc b/chrome/renderer/pepper_plugin_delegate_impl.cc
index d054dc2..536d71b 100644
--- a/chrome/renderer/pepper_plugin_delegate_impl.cc
+++ b/chrome/renderer/pepper_plugin_delegate_impl.cc
@@ -757,3 +757,11 @@ std::string PepperPluginDelegateImpl::ResolveProxy(const GURL& url) {
RenderThread::current()->Send(msg);
return proxy_result;
}
+
+void PepperPluginDelegateImpl::DidStartLoading() {
+ render_view_->DidStartLoadingForPlugin();
+}
+
+void PepperPluginDelegateImpl::DidStopLoading() {
+ render_view_->DidStopLoadingForPlugin();
+}