Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: content/renderer/render_view_impl.h

Issue 263973003: Move LoadProgressTracker to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yep Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 4089c4599c725b8f6e6ae6aa7898b77d553b4909..c143bb92a3be1a72de73889ee53ba17da47cb3cd 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -136,7 +136,6 @@ class GeolocationDispatcher;
class HistoryController;
class HistoryEntry;
class ImageResourceFetcher;
-class LoadProgressTracker;
class MidiDispatcher;
class MediaStreamDispatcher;
class MouseLockDispatcher;
@@ -277,8 +276,6 @@ class CONTENT_EXPORT RenderViewImpl
void FrameDidStartLoading(blink::WebFrame* frame);
void FrameDidStopLoading(blink::WebFrame* frame);
- void FrameDidChangeLoadProgress(blink::WebFrame* frame,
- double load_progress);
void FrameDidCommitProvisionalLoad(blink::WebLocalFrame* frame,
bool is_new_navigation);
@@ -1007,10 +1004,9 @@ class CONTENT_EXPORT RenderViewImpl
// process.
int history_list_length_;
- // Counter to track how many frames have sent start notifications but not
- // stop notifications.
- // TODO(japhet): This state will need to move to the browser process
- // (probably WebContents) for site isolation.
+ // Counter to track how many frames have sent start notifications but not stop
+ // notifications. TODO(avi): Remove this once DidStartLoading/DidStopLoading
+ // are gone.
int frames_in_progress_;
// The list of page IDs for each history item this RenderView knows about.
@@ -1190,9 +1186,6 @@ class CONTENT_EXPORT RenderViewImpl
std::map<int, blink::WebFileChooserCompletion*> enumeration_completions_;
int enumeration_completion_id_;
- // Reports load progress to the browser.
- scoped_ptr<LoadProgressTracker> load_progress_tracker_;
-
// The SessionStorage namespace that we're assigned to has an ID, and that ID
// is passed to us upon creation. WebKit asks for this ID upon first use and
// uses it whenever asking the browser process to allocate new storage areas.

Powered by Google App Engine
This is Rietveld 408576698