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

Issue 12723011: Giving focus to an app shim brings windows belonging to that app to the foreground. (Closed)

Created:
7 years, 9 months ago by jeremya
Modified:
7 years, 9 months ago
CC:
chromium-reviews, tfarina, sail+watch_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Giving focus to an app shim brings windows belonging to that app to the foreground. When the user either clicks on the app shim's icon in the dock or selects it with Cmd+Tab, we send a message to Chrome to ask it to bring that app's windows to the front. BUG=138733, 168080 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188926

Patch Set 1 #

Total comments: 12

Patch Set 2 : . #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -1 line) Patch
M apps/DEPS View 2 chunks +2 lines, -0 lines 0 comments Download
M apps/app_shim/app_shim_host_mac.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M apps/app_shim/app_shim_host_mac.cc View 1 3 chunks +20 lines, -0 lines 0 comments Download
M apps/app_shim/app_shim_messages.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/app/chrome_main_app_mode_mac.mm View 1 2 3 2 chunks +21 lines, -1 line 0 comments Download
A ui/base/cocoa/focus_window_set.h View 1 chunk +21 lines, -0 lines 0 comments Download
A ui/base/cocoa/focus_window_set.mm View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jeremya
koz- apps/ thakis- ui/ and chrome/app palmer- IPC changes This depends on https://codereview.chromium.org/12623005/
7 years, 9 months ago (2013-03-18 00:49:57 UTC) #1
koz (OOO until 15th September)
https://codereview.chromium.org/12723011/diff/1/apps/app_shim/app_shim_host_mac.cc File apps/app_shim/app_shim_host_mac.cc (right): https://codereview.chromium.org/12723011/diff/1/apps/app_shim/app_shim_host_mac.cc#newcode61 apps/app_shim/app_shim_host_mac.cc:61: void AppShimHost::OnFocus() { DCHECK(CalledOnValidThread()) https://codereview.chromium.org/12723011/diff/1/apps/app_shim/app_shim_host_mac.cc#newcode62 apps/app_shim/app_shim_host_mac.cc:62: // TODO move ...
7 years, 9 months ago (2013-03-18 03:33:12 UTC) #2
jeremya
https://codereview.chromium.org/12723011/diff/1/apps/app_shim/app_shim_host_mac.cc File apps/app_shim/app_shim_host_mac.cc (right): https://codereview.chromium.org/12723011/diff/1/apps/app_shim/app_shim_host_mac.cc#newcode61 apps/app_shim/app_shim_host_mac.cc:61: void AppShimHost::OnFocus() { On 2013/03/18 03:33:12, koz wrote: > ...
7 years, 9 months ago (2013-03-18 04:54:05 UTC) #3
koz (OOO until 15th September)
Apps changes lgtm!
7 years, 9 months ago (2013-03-18 05:10:57 UTC) #4
palmer
IPC security LGTM
7 years, 9 months ago (2013-03-18 21:03:31 UTC) #5
Nico
lgtm Do you have a plan for testing app shims? https://codereview.chromium.org/12723011/diff/13001/chrome/app/chrome_main_app_mode_mac.mm File chrome/app/chrome_main_app_mode_mac.mm (right): https://codereview.chromium.org/12723011/diff/13001/chrome/app/chrome_main_app_mode_mac.mm#newcode111 ...
7 years, 9 months ago (2013-03-18 22:50:59 UTC) #6
jeremya
I'm already testing the AppShimHost by mocking out the IPC channel, and the IPC channel ...
7 years, 9 months ago (2013-03-18 23:17:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/12723011/19001
7 years, 9 months ago (2013-03-18 23:18:05 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=108708
7 years, 9 months ago (2013-03-19 01:09:53 UTC) #9
jeremya
7 years, 9 months ago (2013-03-19 03:09:28 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 manually as r188926 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698