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

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: 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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 1ba281c1b69a485b40965a4398d129bc8e8e5e2c..ecaffdd6a4f3d68a43772318ac9bce3755610db3 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
+ // 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