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

Unified Diff: components/zoom/zoom_controller.h

Issue 2662503002: Convert StartPageService and ZoomController to use the new navigation callbacks. (Closed)
Patch Set: fix unittest Created 3 years, 11 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/zoom/zoom_controller.h
diff --git a/components/zoom/zoom_controller.h b/components/zoom/zoom_controller.h
index 159b74843371ba3aec1c71f9b45468729e78162b..b0ecd4cf625372e8bd0a88ad4aa5bcd3a6914363 100644
--- a/components/zoom/zoom_controller.h
+++ b/components/zoom/zoom_controller.h
@@ -149,9 +149,8 @@ class ZoomController : public content::WebContentsObserver,
bool PageScaleFactorIsOne() const;
// content::WebContentsObserver overrides:
- void DidNavigateMainFrame(
- const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) override;
+ void DidFinishNavigation(
+ content::NavigationHandle* navigation_handle) override;
void WebContentsDestroyed() override;
void RenderFrameHostChanged(content::RenderFrameHost* old_host,
content::RenderFrameHost* new_host) override;

Powered by Google App Engine
This is Rietveld 408576698