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

Unified Diff: content/renderer/render_view_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: Fix progress calculation, add test 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
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 164c89bae36ce6086130f15d3b0a9e5a9f7235f1..19b6e949f67d3accd0e9b1e0bd802e523ee0db13 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -406,10 +406,12 @@ class CONTENT_EXPORT RenderViewImpl
virtual bool enumerateChosenDirectory(
const blink::WebString& path,
blink::WebFileChooserCompletion* chooser_completion);
+ // DEPRECATED
virtual void didStartLoading(bool to_different_document);
// DEPRECATED
- virtual void didStartLoading();
virtual void didStopLoading();
+ virtual void didStartLoading(blink::WebFrame* frame);
+ virtual void didStopLoading(blink::WebFrame* frame);
virtual void didChangeLoadProgress(blink::WebFrame* frame,
double load_progress);
virtual void didCancelCompositionOnSelectionChange();
@@ -1133,9 +1135,6 @@ class CONTENT_EXPORT RenderViewImpl
// Loading state -------------------------------------------------------------
- // True if the top level frame is currently being loaded.
- bool is_loading_;
-
// The gesture that initiated the current navigation.
// TODO(nasko): Move to RenderFrame, as this is per-frame state.
NavigationGesture navigation_gesture_;

Powered by Google App Engine
This is Rietveld 408576698