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

Unified Diff: content/public/browser/web_contents.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 avi@ 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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 6f68c96273a453be2afb952657410e8c5908a2e5..744b46fba81671852b8cf668161c3d0543dbe931 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -669,7 +669,10 @@ class WebContents : public PageNavigator,
virtual void HasManifest(const HasManifestCallback& callback) = 0;
// Requests the renderer to exit fullscreen.
- virtual void ExitFullscreen() = 0;
+ // |will_cause_resize| indicates whether the fullscreen change causes a
+ // view resize. e.g. This will be false when going from tab fullscreen to
+ // browser fullscreen.
+ virtual void ExitFullscreen(bool will_cause_resize) = 0;
// Unblocks requests from renderer for a newly created window. This is
// used in showCreatedWindow() or sometimes later in cases where

Powered by Google App Engine
This is Rietveld 408576698