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

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

Issue 582373003: Explicitely unlock screen orientation when navigating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_dispatcher_host_impl.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_dispatcher_host_impl.h
diff --git a/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h b/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h
index 366267ebca73317f0b5548a46d2db744b18d1ad9..376663124dc36686d5adf74eeca1ba0eb27d2db7 100644
--- a/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h
+++ b/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h
@@ -35,6 +35,8 @@ class CONTENT_EXPORT ScreenOrientationDispatcherHostImpl
// WebContentsObserver:
virtual bool OnMessageReceived(const IPC::Message&,
RenderFrameHost* render_frame_host) OVERRIDE;
+ virtual void DidNavigateMainFrame(const LoadCommittedDetails& details,
+ const FrameNavigateParams& params) OVERRIDE;
private:
void OnLockRequest(RenderFrameHost* render_frame_host,
« no previous file with comments | « no previous file | content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698