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 21eaac9b108e6755efca21d63ff96d9f4d9c78d7..164c3c1d5851cea6bf40c4680fcc9222fe734a4a 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -130,6 +130,15 @@ class CONTENT_EXPORT FrameTree { |
// the listener installed by SetFrameRemoveListener. |
void FrameRemoved(FrameTreeNode* frame); |
+ // Returns this FrameTree's total load progress. |
+ double GetLoadProgress(); |
+ |
+ // Resets the load progress on all nodes in this FrameTree. |
+ void ResetLoadProgress(); |
+ |
+ // Returns true if at least one of the nodes in this FrameTree is loading. |
+ bool IsLoading(); |
+ |
private: |
typedef base::hash_map<int, RenderViewHostImpl*> RenderViewHostMap; |
typedef std::multimap<int, RenderViewHostImpl*> RenderViewHostMultiMap; |