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

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

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from scheib@ 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/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 5a55b72c971f4f6fde42b0698ba5bda60b6a9cff..156cad08999fe9b966d9433f94e4b7db9fcda094 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -404,7 +404,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// Invoked when the renderer process has toggled the tab into/out of
// fullscreen mode.
- virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen) {}
+ virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen,
+ bool will_cause_resize) {}
// Invoked when an interstitial page is attached or detached.
virtual void DidAttachInterstitialPage() {}

Powered by Google App Engine
This is Rietveld 408576698