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

Issue 1681863005: Added the "Show as Tab" option for popups on OSX (Closed)

Created:
4 years, 10 months ago by spqchan
Modified:
4 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added the "Show as Tab" option for popups on OSX Added the "Show as Tab" option under the Window menu. The option only appears if the current window is not tabbed. BUG=43953 Committed: https://crrev.com/9d60fcef1fbaf9cb53b1c4a08be17183c0670d9b Cr-Commit-Position: refs/heads/master@{#374690}

Patch Set 1 #

Patch Set 2 : Fixed an edge case where there are no key windows #

Patch Set 3 : Nit #

Total comments: 5

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M chrome/app/nibs/MainMenu.xib View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/app_controller_mac.mm View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_command_handler.mm View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
spqchan
PTAL
4 years, 10 months ago (2016-02-10 00:56:17 UTC) #3
Avi (use Gerrit)
I reviewed a patch to do the same thing (https://codereview.chromium.org/1248183004), and it wasn't super good ...
4 years, 10 months ago (2016-02-10 01:00:15 UTC) #5
spqchan
On 2016/02/10 01:00:15, Avi wrote: > I reviewed a patch to do the same thing ...
4 years, 10 months ago (2016-02-10 01:06:37 UTC) #6
spqchan
On 2016/02/10 01:06:37, spqchan wrote: > On 2016/02/10 01:00:15, Avi wrote: > > I reviewed ...
4 years, 10 months ago (2016-02-10 02:34:28 UTC) #7
spqchan
PTAL Fixed the issue. It turns out |validateUserInterfaceItem| doesn’t get called in BrowserWindowCommandHandler when there ...
4 years, 10 months ago (2016-02-10 02:34:48 UTC) #8
erikchen
lgtm https://codereview.chromium.org/1681863005/diff/40001/chrome/browser/ui/cocoa/browser_window_command_handler.mm File chrome/browser/ui/cocoa/browser_window_command_handler.mm (right): https://codereview.chromium.org/1681863005/diff/40001/chrome/browser/ui/cocoa/browser_window_command_handler.mm#newcode226 chrome/browser/ui/cocoa/browser_window_command_handler.mm:226: [menuItem setHidden:browser->is_type_tabbed()]; Missing break for this case, and ...
4 years, 10 months ago (2016-02-10 03:13:13 UTC) #9
Avi (use Gerrit)
https://codereview.chromium.org/1681863005/diff/40001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://codereview.chromium.org/1681863005/diff/40001/chrome/browser/app_controller_mac.mm#newcode989 chrome/browser/app_controller_mac.mm:989: if (tag == IDC_SHOW_AS_TAB) { On 2016/02/10 02:34:48, spqchan ...
4 years, 10 months ago (2016-02-10 06:05:04 UTC) #10
spqchan
PTAL https://codereview.chromium.org/1681863005/diff/40001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://codereview.chromium.org/1681863005/diff/40001/chrome/browser/app_controller_mac.mm#newcode989 chrome/browser/app_controller_mac.mm:989: if (tag == IDC_SHOW_AS_TAB) { On 2016/02/10 06:05:04, ...
4 years, 10 months ago (2016-02-10 17:27:06 UTC) #11
Avi (use Gerrit)
I think this is cool. LGTM
4 years, 10 months ago (2016-02-10 17:51:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681863005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681863005/60001
4 years, 10 months ago (2016-02-10 17:56:02 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-10 18:30:58 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 18:32:21 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9d60fcef1fbaf9cb53b1c4a08be17183c0670d9b
Cr-Commit-Position: refs/heads/master@{#374690}

Powered by Google App Engine
This is Rietveld 408576698