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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.cc

Issue 2615113002: Send a resize message to renderer when exiting full screen in vr. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell.cc b/chrome/browser/android/vr_shell/vr_shell.cc
index ee4aa9843e6188d468b450677340af9e5b586d8b..6c72503b7e37beac72dc65027e51bdce47a8ae69 100644
--- a/chrome/browser/android/vr_shell/vr_shell.cc
+++ b/chrome/browser/android/vr_shell/vr_shell.cc
@@ -375,7 +375,7 @@ void VrShell::DoUiAction(const UiAction action) {
switch (action) {
case HISTORY_BACK:
if (main_contents_->IsFullscreen()) {
- main_contents_->ExitFullscreen(true /* will_cause_resize */);
+ main_contents_->ExitFullscreen(false);
} else if (controller.CanGoBack()) {
controller.GoBack();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698