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

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 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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 6f68c96273a453be2afb952657410e8c5908a2e5..e2ffacdb36eef6d4147c128fa653b227bbe95800 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -669,7 +669,9 @@ class WebContents : public PageNavigator,
virtual void HasManifest(const HasManifestCallback& callback) = 0;
// Requests the renderer to exit fullscreen.
- virtual void ExitFullscreen() = 0;
+ // |will_cause_resize| can be false in the case where we exit tab fullscreen
Avi (use Gerrit) 2016/01/05 16:17:57 Same comment here. "will be false in the case"?
bokan 2016/01/05 17:15:48 Done.
+ // into browser fullscreen and thus won't cause bounds to change.
+ 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