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

Issue 518085: Mac: temporarily disable Full Screen and Task Manager. (Closed)

Created:
10 years, 11 months ago by viettrungluu
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Mac: temporarily disable Full Screen and Task Manager. We need to do it in Browser, since the new common menu code (for the App and Page menus) doesn't look to the BrowserWindowController for their enabled status. BUG=31768 TEST=On Mac, make sure the Full Screen and Task Manager menu items are disabled in both the main menu and in the App and Page menus. On other platforms, make sure they still work as usual. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35801

Patch Set 1 #

Patch Set 2 : oops #

Patch Set 3 : bug numbers added to TODOs #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/browser.cc View 1 2 2 chunks +8 lines, -0 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
viettrungluu
Could you take a break from lifting weights (see, I do read my email!) and ...
10 years, 11 months ago (2010-01-08 17:32:06 UTC) #1
pink (ping after 24hrs)
LGTM Can you add bug numbers to the TODOs for the bug that re-enables the ...
10 years, 11 months ago (2010-01-08 17:49:07 UTC) #2
viettrungluu
All done. @thakis: just a heads-up.
10 years, 11 months ago (2010-01-08 18:07:43 UTC) #3
Nico
Thanks for the heads-up :-) http://codereview.chromium.org/518085/diff/4001/5001 File chrome/browser/browser.cc (right): http://codereview.chromium.org/518085/diff/4001/5001#newcode2486 chrome/browser/browser.cc:2486: command_updater_.UpdateCommandEnabled(IDC_FULLSCREEN, true); shouldn't this ...
10 years, 11 months ago (2010-01-08 23:08:04 UTC) #4
viettrungluu
http://codereview.chromium.org/518085/diff/4001/5001 File chrome/browser/browser.cc (right): http://codereview.chromium.org/518085/diff/4001/5001#newcode2486 chrome/browser/browser.cc:2486: command_updater_.UpdateCommandEnabled(IDC_FULLSCREEN, true); On 2010/01/08 23:08:04, Nico wrote: > shouldn't ...
10 years, 11 months ago (2010-01-08 23:09:58 UTC) #5
Nico
10 years, 11 months ago (2010-01-08 23:11:22 UTC) #6
http://codereview.chromium.org/518085/diff/4001/5001
File chrome/browser/browser.cc (right):

http://codereview.chromium.org/518085/diff/4001/5001#newcode2486
chrome/browser/browser.cc:2486:
command_updater_.UpdateCommandEnabled(IDC_FULLSCREEN, true);
On 2010/01/08 23:09:58, viettrungluu wrote:
> On 2010/01/08 23:08:04, Nico wrote:
> > shouldn't this be "false"? also below.
> > 
> > (If not, the function has an odd name.)
> 
> It's an #ifndef. Commands are disabled by default.

doh. Carry on.

Powered by Google App Engine
This is Rietveld 408576698