Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index ae57bea44335669fdfcf1157d282f71fb5943e0a..ed4ab5cdd92d7add5528c045bd984f4dd8d15e4e 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -905,6 +905,10 @@ class CONTENT_EXPORT WebContentsImpl |
// Calculates the progress of the current load and notifies the delegate. |
void SendLoadProgressChanged(); |
+ // Returns true if at least one of the nodes in the |frame_tree_| is loading, |
+ // false otherwise. |
+ bool IsFrameTreeLoading(); |
+ |
// Misc non-view stuff ------------------------------------------------------- |
// Sets the history for a specified RenderViewHost to |history_length| |
@@ -1055,18 +1059,10 @@ class CONTENT_EXPORT WebContentsImpl |
net::LoadStateWithParam load_state_; |
base::string16 load_state_host_; |
- // LoadingProgressMap maps FrameTreeNode IDs to a double representing that |
- // frame's completion (from 0 to 1). |
- typedef base::hash_map<int64, double> LoadingProgressMap; |
- LoadingProgressMap loading_progresses_; |
double loading_total_progress_; |
base::TimeTicks loading_last_progress_update_; |
- // Counter to track how many frames have sent start notifications but not |
- // stop notifications. |
- int loading_frames_in_progress_; |
- |
// Upload progress, for displaying in the status bar. |
// Set to zero when there is no significant upload happening. |
uint64 upload_size_; |