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

Unified Diff: ui/views/controls/webview/webview.h

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Accidentally made will_cause_resize always false in previous cleanup. Fixed 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
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.cpp ('k') | ui/views/controls/webview/webview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/webview/webview.h
diff --git a/ui/views/controls/webview/webview.h b/ui/views/controls/webview/webview.h
index cb8ba7a2b3b9dc1c66bbddb866750ff644cf3bda..9ff7c7f6091ac38865ed7da840fe92bb111d9f3c 100644
--- a/ui/views/controls/webview/webview.h
+++ b/ui/views/controls/webview/webview.h
@@ -133,7 +133,8 @@ class WEBVIEW_EXPORT WebView : public View,
void WebContentsDestroyed() override;
void DidShowFullscreenWidget(int routing_id) override;
void DidDestroyFullscreenWidget(int routing_id) override;
- void DidToggleFullscreenModeForTab(bool entered_fullscreen) override;
+ void DidToggleFullscreenModeForTab(bool entered_fullscreen,
+ bool will_cause_resize) override;
void DidAttachInterstitialPage() override;
void DidDetachInterstitialPage() override;
// Workaround for MSVC++ linker bug/feature that requires
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.cpp ('k') | ui/views/controls/webview/webview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698