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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 501703002: Hook up loading signal to ResourceScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zhen_visibility
Patch Set: Nit. Created 6 years, 4 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/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 6f31db2be8133f51a19ade2a959c49aea47cff19..f6f91b99b725f2476c01f81249096f4826a96919 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -204,6 +204,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// Sends a message to the corresponding object in the renderer.
virtual bool Send(IPC::Message* msg) OVERRIDE;
+ // Indicates if the page has finished loading.
+ virtual void SetIsLoading(bool is_loading);
+
// Called to notify the RenderWidget that it has been hidden or restored from
// having been hidden.
virtual void WasHidden();
@@ -226,9 +229,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// Notifies the RenderWidgetHost that the View was destroyed.
void ViewDestroyed();
- // Indicates if the page has finished loading.
- void SetIsLoading(bool is_loading);
-
#if defined(OS_MACOSX)
// Pause for a moment to wait for pending repaint or resize messages sent to
// the renderer to arrive. If pending resize messages are for an old window
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698