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

Unified Diff: components/dom_distiller/content/web_contents_main_frame_observer.h

Issue 373623002: Convert remaining WebContentsObservers loading callbacks to use RFH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CrOS test Created 6 years, 5 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: components/dom_distiller/content/web_contents_main_frame_observer.h
diff --git a/components/dom_distiller/content/web_contents_main_frame_observer.h b/components/dom_distiller/content/web_contents_main_frame_observer.h
index 7343dba79ccd16a19c9c716d3c7925706d67c81e..ff24452024c13c92095cb1c3b4037d0b223780e2 100644
--- a/components/dom_distiller/content/web_contents_main_frame_observer.h
+++ b/components/dom_distiller/content/web_contents_main_frame_observer.h
@@ -28,13 +28,11 @@ class WebContentsMainFrameObserver
// content::WebContentsObserver implementation.
virtual void DocumentLoadedInFrame(
- int64 frame_id,
- content::RenderViewHost* render_view_host) OVERRIDE;
+ content::RenderFrameHost* render_frame_host) OVERRIDE;
virtual void DidNavigateMainFrame(
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params) OVERRIDE;
virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
- virtual void WebContentsDestroyed() OVERRIDE;
private:
explicit WebContentsMainFrameObserver(content::WebContents* web_contents);
@@ -52,9 +50,6 @@ class WebContentsMainFrameObserver
// at least one call to DidNavigateMainFrame has happened.
bool is_initialized_;
- // The WebContents this class is tracking.
- content::WebContents* web_contents_;
-
DISALLOW_COPY_AND_ASSIGN(WebContentsMainFrameObserver);
};

Powered by Google App Engine
This is Rietveld 408576698