Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index b2e6812aecb927a79b296a431e4c840529fa12a0..67ee5d52858553fc8608c7bb5691aa1006b2411d 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -90,15 +90,6 @@ class CONTENT_EXPORT RenderFrameHostImpl |
: public RenderFrameHost, |
public BrowserAccessibilityDelegate { |
public: |
- // These values indicate the loading progress status. The minimum progress |
- // value matches what Blink's ProgressTracker has traditionally used for a |
- // minimum progress value. |
- // TODO(fdegans): Move these values to the implementation when the relevant |
- // IPCs are moved from WebContentsImpl to RenderFrameHost. |
- static const double kLoadingProgressNotStarted; |
- static const double kLoadingProgressMinimum; |
- static const double kLoadingProgressDone; |
- |
// Keeps track of the state of the RenderFrameHostImpl, particularly with |
// respect to swap out. |
enum RenderFrameHostImplState { |
@@ -218,16 +209,6 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// call FrameTreeNode::IsLoading. |
bool is_loading() const { return is_loading_; } |
- // Sets this RenderFrameHost's loading progress (from 0 to 1). |
- void set_loading_progress(double loading_progress) { |
- loading_progress_ = loading_progress; |
- } |
- |
- // Returns this RenderFrameHost's loading progress. This is only used by |
- // FrameTreeNode. The proper way to check a frame loading progress is to call |
- // FrameTreeNode::GetLoadingProgress. |
- double loading_progress() const { return loading_progress_; } |
- |
// This returns the RenderFrameHost's owned RenderWidgetHost if it has one, |
// or else it returns nullptr. |
// If the RenderFrameHost is the page's main frame, this returns instead a |
@@ -673,9 +654,6 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// document or not. |
bool is_loading_; |
- // Used to track this RenderFrameHost's loading progress (from 0 to 1). |
- double loading_progress_; |
- |
// Used to swap out or shut down this RFH when the unload event is taking too |
// long to execute, depending on the number of active frames in the |
// SiteInstance. |