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

Unified Diff: content/browser/screen_orientation/screen_orientation.h

Issue 2668833002: Convert ScreenOrientation to use the new navigation callbacks. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/screen_orientation/screen_orientation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/screen_orientation/screen_orientation.h
diff --git a/content/browser/screen_orientation/screen_orientation.h b/content/browser/screen_orientation/screen_orientation.h
index 68a16158a1abbff5dbddde183836a853f3c9cf88..af3d84e8120aae435468cedb18d5a92d52c4da5e 100644
--- a/content/browser/screen_orientation/screen_orientation.h
+++ b/content/browser/screen_orientation/screen_orientation.h
@@ -30,8 +30,7 @@ class ScreenOrientation : public device::mojom::ScreenOrientation,
void UnlockOrientation() override;
// WebContentsObserver:
- void DidNavigateMainFrame(const LoadCommittedDetails& details,
- const FrameNavigateParams& params) override;
+ void DidFinishNavigation(NavigationHandle* navigation_handle) override;
std::unique_ptr<ScreenOrientationProvider> provider_;
WebContentsFrameBindingSet<device::mojom::ScreenOrientation> bindings_;
« no previous file with comments | « no previous file | content/browser/screen_orientation/screen_orientation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698