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

Unified Diff: content/browser/web_contents/web_contents_impl.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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index ceb900e9a006081263027f11a5ec327692717164..912262c712fd3350f5183a67415228942c87d7c0 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -375,7 +375,7 @@ class CONTENT_EXPORT WebContentsImpl
bool WasRecentlyAudible() override;
void GetManifest(const GetManifestCallback& callback) override;
void HasManifest(const HasManifestCallback& callback) override;
- void ExitFullscreen() override;
+ void ExitFullscreen(bool will_cause_resize) override;
void ResumeLoadingCreatedWebContents() override;
#if defined(OS_ANDROID)
void OnMediaSessionStateChanged();
@@ -439,7 +439,7 @@ class CONTENT_EXPORT WebContentsImpl
GeolocationServiceContext* GetGeolocationServiceContext() override;
WakeLockServiceContext* GetWakeLockServiceContext() override;
void EnterFullscreenMode(const GURL& origin) override;
- void ExitFullscreenMode() override;
+ void ExitFullscreenMode(bool will_cause_resize) override;
bool ShouldRouteMessageEvent(
RenderFrameHost* target_rfh,
SiteInstance* source_site_instance) const override;

Powered by Google App Engine
This is Rietveld 408576698