Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index d9284aeb6bd1ea043018fc97698d5d66fd36d02a..14ffd733d47ba4ba0c3fc8cb601033ee3d3d2098 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -86,7 +86,6 @@ |
#include "content/renderer/ime_event_guard.h" |
#include "content/renderer/input/input_handler_manager.h" |
#include "content/renderer/internal_document_state_data.h" |
-#include "content/renderer/load_progress_tracker.h" |
#include "content/renderer/media/audio_device_factory.h" |
#include "content/renderer/media/media_stream_dependency_factory.h" |
#include "content/renderer/media/media_stream_dispatcher.h" |
@@ -677,7 +676,6 @@ RenderViewImpl::RenderViewImpl(RenderViewImplParams* params) |
pepper_last_mouse_event_target_(NULL), |
#endif |
enumeration_completion_id_(0), |
- load_progress_tracker_(new LoadProgressTracker(this)), |
session_storage_namespace_id_(params->session_storage_namespace_id), |
next_snapshot_id_(0) { |
} |
@@ -1566,10 +1564,6 @@ bool RenderViewImpl::enumerateChosenDirectory( |
} |
void RenderViewImpl::FrameDidStartLoading(WebFrame* frame) { |
- if (load_progress_tracker_ != NULL) { |
- load_progress_tracker_->DidStartLoading( |
- RenderFrameImpl::FromWebFrame(frame)->GetRoutingID()); |
- } |
DCHECK_GE(frames_in_progress_, 0); |
if (frames_in_progress_ == 0) |
FOR_EACH_OBSERVER(RenderViewObserver, observers_, DidStartLoading()); |
Charlie Reis
2014/05/07 23:51:00
No need to address this in in this CL, but I'm cur
Avi (use Gerrit)
2014/05/13 21:08:08
So am I :) I'll figure this out later, but your th
Charlie Reis
2014/05/13 22:44:37
That's a great question. Looks like only 4 client
|
@@ -1577,10 +1571,6 @@ void RenderViewImpl::FrameDidStartLoading(WebFrame* frame) { |
} |
void RenderViewImpl::FrameDidStopLoading(WebFrame* frame) { |
- if (load_progress_tracker_ != NULL) { |
- load_progress_tracker_->DidStopLoading( |
- RenderFrameImpl::FromWebFrame(frame)->GetRoutingID()); |
- } |
// TODO(japhet): This should be a DCHECK, but the pdf plugin sometimes |
// calls DidStopLoading() without a matching DidStartLoading(). |
if (frames_in_progress_ == 0) |
@@ -1592,14 +1582,6 @@ void RenderViewImpl::FrameDidStopLoading(WebFrame* frame) { |
} |
} |
-void RenderViewImpl::FrameDidChangeLoadProgress(WebFrame* frame, |
- double load_progress) { |
- if (load_progress_tracker_ != NULL) { |
- load_progress_tracker_->DidChangeLoadProgress( |
- RenderFrameImpl::FromWebFrame(frame)->GetRoutingID(), load_progress); |
- } |
-} |
- |
void RenderViewImpl::didCancelCompositionOnSelectionChange() { |
Send(new ViewHostMsg_ImeCancelComposition(routing_id())); |
} |