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

Unified Diff: content/public/browser/screen_orientation_provider.h

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Accidentally made will_cause_resize always false in previous cleanup. Fixed Created 4 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: content/public/browser/screen_orientation_provider.h
diff --git a/content/public/browser/screen_orientation_provider.h b/content/public/browser/screen_orientation_provider.h
index c3bda14ba896059e8ac45ce0bdec8a9d52db8167..75f8a3992d9678630eb3f0b3a7d6a046f25b0d16 100644
--- a/content/public/browser/screen_orientation_provider.h
+++ b/content/public/browser/screen_orientation_provider.h
@@ -41,7 +41,8 @@ class CONTENT_EXPORT ScreenOrientationProvider : public WebContentsObserver {
static void SetDelegate(ScreenOrientationDelegate* delegate_);
// WebContentsObserver
- void DidToggleFullscreenModeForTab(bool entered_fullscreen) override;
+ void DidToggleFullscreenModeForTab(bool entered_fullscreen,
+ bool will_cause_resize) override;
private:
struct LockInformation {
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/screen_orientation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698