Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 11194043: Report load progress for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 months 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 4e1e58721cd0c69ffea8e539a97828934fb94c77..b649c3c580ccea31e71af49d594e4004ebf4efb8 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -117,13 +117,13 @@ class CONTENT_EXPORT WebContentsDelegate {
// loading feedback. See WebContents::IsLoading()
virtual void LoadingStateChanged(WebContents* source) {}
+#if defined(OS_ANDROID)
// Notifies the delegate that the page has made some progress loading.
// |progress| is a value between 0.0 (nothing loaded) to 1.0 (page fully
// loaded).
- // Note that to receive this notification, you must have called
- // SetReportLoadProgressEnabled(true) in the render view.
virtual void LoadProgressChanged(WebContents* source,
double progress) {}
+#endif
// Request the delegate to close this web contents, and do whatever cleanup
// it needs to do.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698