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

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: final comment 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
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index e0dc4e36db9653a6e8a1a21e7a16c88d75dda406..7237e9889b323262b0a0f16550d4b01b6f63633b 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;
@@ -280,8 +279,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);
@@ -993,10 +990,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.
@@ -1171,9 +1167,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.
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698