Index: content/browser/frame_host/frame_tree.h |
diff --git a/content/browser/frame_host/frame_tree.h b/content/browser/frame_host/frame_tree.h |
index 164c3c1d5851cea6bf40c4680fcc9222fe734a4a..67781cde8126186ba3d2c6cd1530a34ace2cb0ed 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -130,6 +130,9 @@ class CONTENT_EXPORT FrameTree { |
// the listener installed by SetFrameRemoveListener. |
void FrameRemoved(FrameTreeNode* frame); |
+ // Updates the overall load progress and notifies the WebContents. |
+ void UpdateLoadProgress(); |
+ |
// Returns this FrameTree's total load progress. |
double GetLoadProgress(); |
@@ -178,6 +181,9 @@ class CONTENT_EXPORT FrameTree { |
base::Callback<void(RenderFrameHost*)> on_frame_removed_; |
+ // Overall load progress. |
+ double load_progress_; |
+ |
DISALLOW_COPY_AND_ASSIGN(FrameTree); |
}; |