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

Issue 10834421: Re-enable Ctrl-w and Ctrl-Shift-w when a non-Pepper window is maximized (Closed)

Created:
8 years, 4 months ago by Yusuke Sato
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Re-enable Ctrl-w and Ctrl-Shift-w when a non-Pepper window is maximized. This is a temporary fix for M22 for crbug.com/143442, and should be reverted on trunk as part of crbug.com/142422. This CL is basically a second trial of r151121 which was also a temporary fix for M22. r151121 disabled Ctrl-w and Ctrl-Shift-w when any kind of full screen window was active, but it turned out that the limitation was too strict; we should not disable Ctrl-w and Ctrl-Shift-w when a non-Pepper window was maximized. BUG=143442, 142422 TEST=confirmed that C-w/C-S-w do not crash when a browser window is maximized. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=153206

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/browser/ui/browser_command_controller.cc View 1 chunk +4 lines, -2 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Yusuke Sato
Stefan, could you have a look at this?
8 years, 4 months ago (2012-08-20 23:24:19 UTC) #1
Mr4D (OOO till 08-26)
As discussed. I am fine with the change as long as you have tested that ...
8 years, 4 months ago (2012-08-21 00:17:14 UTC) #2
Mr4D (OOO till 08-26)
lgtm http://codereview.chromium.org/10834421/diff/1/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): http://codereview.chromium.org/10834421/diff/1/chrome/browser/ui/browser_command_controller.cc#newcode1109 chrome/browser/ui/browser_command_controller.cc:1109: !window()->IsFullscreen(); Please check that this does not crash ...
8 years, 4 months ago (2012-08-21 00:17:34 UTC) #3
Yusuke Sato
http://codereview.chromium.org/10834421/diff/1/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): http://codereview.chromium.org/10834421/diff/1/chrome/browser/ui/browser_command_controller.cc#newcode1109 chrome/browser/ui/browser_command_controller.cc:1109: !window()->IsFullscreen(); On 2012/08/21 00:17:34, Mr4D wrote: > Please check ...
8 years, 4 months ago (2012-08-21 00:28:23 UTC) #4
Yusuke Sato
Ben, could you do an OWNERS review?
8 years, 4 months ago (2012-08-21 00:28:53 UTC) #5
Yusuke Sato
Ben, could you review this? This is for M22 stable blocker.
8 years, 4 months ago (2012-08-22 15:37:27 UTC) #6
Ben Goodger (Google)
8 years, 4 months ago (2012-08-22 16:06:03 UTC) #7
lgtm, note that this function was removed on trunk so you'll have to apply it to
the branch.

Powered by Google App Engine
This is Rietveld 408576698