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

Unified Diff: content/renderer/render_frame_impl.h

Issue 180113003: Prepare for per frame did{Start,Stop}Loading calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 1004340a817b3da03bef50dec1636e3eff152cbf..b7333ba50934dbf0df573439066a90b1aa3cea52 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -99,8 +99,9 @@ class CONTENT_EXPORT RenderFrameImpl
// TODO(nasko): Those are page-level methods at this time and come from
// WebViewClient. We should move them to be WebFrameClient calls and put
// logic in the browser side to balance starts/stops.
- void didStartLoading();
- void didStopLoading();
+ virtual void didStartLoading(bool to_different_document);
+ virtual void didStopLoading();
+ virtual void didChangeLoadProgress(double load_progress);
#if defined(ENABLE_PLUGINS)
// Notification that a PPAPI plugin has been created.
@@ -401,6 +402,7 @@ class CONTENT_EXPORT RenderFrameImpl
base::WeakPtr<RenderViewImpl> render_view_;
int routing_id_;
+ bool is_loading_;
bool is_swapped_out_;
bool is_detaching_;
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698