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

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: Trying to fix test broken on Mac Created 5 years 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 92bf9773edcdeaeb28929fe6197d77393979fb8c..9c9a40ab988d3b6c8ba7cf39c65a699d81a7e0ae 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -401,7 +401,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