| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 46c25a767b86890064b94f243045ad9afce19889..3fe20feb351a0972d5b3f5ebb98eba13c93a1943 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -87,7 +87,6 @@
|
| #include "content/renderer/input/input_handler_manager.h"
|
| #include "content/renderer/input_tag_speech_dispatcher.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/audio_renderer_mixer_manager.h"
|
| #include "content/renderer/media/media_stream_dependency_factory.h"
|
| @@ -695,7 +694,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) {
|
| }
|
| @@ -1584,10 +1582,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());
|
| @@ -1595,10 +1589,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)
|
| @@ -1610,14 +1600,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()));
|
| }
|
|
|