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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1564963002: [on hold] Remove dependency on RenderViewHost from LoadState notifications Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only notify navigations / uploads Created 4 years, 6 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/browser/renderer_host/render_view_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index bfd6a000a2413f954daaa3d58e1d4f67d6199e22..e208c5d7aadd66288de73c72f2468e5cc240eb0e 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -215,6 +215,12 @@ class CONTENT_EXPORT WebContentsImpl
// have been removed.
void RemoveAccessibilityMode(AccessibilityMode mode);
+ // Notification that the WebContents load state changed.
+ void LoadStateChanged(const GURL& url,
+ const net::LoadStateWithParam& load_state,
+ uint64_t upload_position,
+ uint64_t upload_size);
+
// Request a one-time snapshot of the accessibility tree without changing
// the accessibility mode.
using AXTreeSnapshotCallback =
@@ -492,10 +498,6 @@ class CONTENT_EXPORT WebContentsImpl
void OnUserInteraction(RenderWidgetHostImpl* render_widget_host,
const blink::WebInputEvent::Type type) override;
void OnIgnoredUIEvent() override;
- void LoadStateChanged(const GURL& url,
- const net::LoadStateWithParam& load_state,
- uint64_t upload_position,
- uint64_t upload_size) override;
void Activate() override;
void RunFileChooser(RenderViewHost* render_view_host,
const FileChooserParams& params) override;
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698