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

Issue 1166643003: BrowserWindowCocoa::Show should activate the window (Closed)

Created:
5 years, 6 months ago by johnme
Modified:
5 years, 6 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BrowserWindowCocoa::Show should activate the window When a new tab/window is opened on Mac, the window is currently brought to the front relative to other Chrome windows, but not relative to other apps. This often goes unnoticed, since Chrome is often already the active app, but it's particularly noticeable when clicking on a push notification opens a new tab/window, as this window will remain underneath other apps if Chrome wasn't already in the foreground. This patch makes Show always Activate the window as well. BUG=470830 TEST=manual, follow steps in https://crbug.com/470830 Committed: https://crrev.com/b13b6d7b2c7ad67c1b1937897fe3c26527eeb943 Cr-Commit-Position: refs/heads/master@{#332615}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
johnme
Hey Avi, this patch seems to be a relatively easy fix for https://crbug.com/470830 on Mac. ...
5 years, 6 months ago (2015-06-02 19:04:47 UTC) #2
Avi (use Gerrit)
On 2015/06/02 19:04:47, johnme wrote: > Hey Avi, this patch seems to be a relatively ...
5 years, 6 months ago (2015-06-02 19:21:37 UTC) #3
johnme
On 2015/06/02 19:21:37, Avi wrote: > On 2015/06/02 19:04:47, johnme wrote: > > Hey Avi, ...
5 years, 6 months ago (2015-06-03 13:34:50 UTC) #4
Avi (use Gerrit)
Re our discussion, this patch LGTM for 44 to solve the immediate problem. You're already ...
5 years, 6 months ago (2015-06-03 14:40:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166643003/1
5 years, 6 months ago (2015-06-03 14:48:12 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 6 months ago (2015-06-03 15:39:11 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b13b6d7b2c7ad67c1b1937897fe3c26527eeb943 Cr-Commit-Position: refs/heads/master@{#332615}
5 years, 6 months ago (2015-06-03 15:40:04 UTC) #9
Andre
5 years, 3 months ago (2015-09-18 21:53:40 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1359483002/ by andresantoso@chromium.org.

The reason for reverting is: Caused regression: http://crbug.com/500038, and
http://crbug.com/496786.

Powered by Google App Engine
This is Rietveld 408576698