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

Issue 461303002: [Mac] Bounce app shims when app windows request attention. (Closed)

Created:
6 years, 4 months ago by jackhou1
Modified:
6 years, 4 months ago
Reviewers:
palmer, tapted, Robert Sesek
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

[Mac] Bounce app shims when app windows request attention. Currently we only bounce the app shim when the app is hidden but wants to show a window. This CL makes AppWindow.drawAttention() bounce the app icon continuously until the app is focused or AppWindow.clearAttention() is called. BUG=402722 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290768

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments #

Total comments: 7

Patch Set 3 : Address comments #

Patch Set 4 : Update FakeHost in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -25 lines) Patch
M apps/app_shim/app_shim_handler_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M apps/app_shim/app_shim_host_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M apps/app_shim/app_shim_host_mac.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M apps/app_shim/app_shim_launch.h View 1 chunk +11 lines, -0 lines 0 comments Download
M apps/app_shim/app_shim_messages.h View 1 2 3 chunks +12 lines, -2 lines 0 comments Download
M apps/app_shim/app_shim_quit_interactive_uitest_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M apps/app_shim/chrome_main_app_mode_mac.mm View 1 2 3 5 chunks +25 lines, -2 lines 0 comments Download
M apps/app_shim/extension_app_shim_handler_mac.h View 1 1 chunk +8 lines, -2 lines 0 comments Download
M apps/app_shim/extension_app_shim_handler_mac.cc View 1 3 chunks +13 lines, -2 lines 0 comments Download
M apps/app_shim/extension_app_shim_handler_mac_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/app_window_interactive_uitest.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac_interactive_uitest.mm View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm View 1 2 3 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/window_api_interactive/test.js View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jackhou1
6 years, 4 months ago (2014-08-13 01:48:52 UTC) #1
tapted
I can't imagine they would be terribly interesting.. but should we add tests for this ...
6 years, 4 months ago (2014-08-13 03:37:08 UTC) #2
jackhou1
https://codereview.chromium.org/461303002/diff/1/apps/app_shim/app_shim_messages.h File apps/app_shim/app_shim_messages.h (right): https://codereview.chromium.org/461303002/diff/1/apps/app_shim/app_shim_messages.h#newcode36 apps/app_shim/app_shim_messages.h:36: IPC_MESSAGE_CONTROL1(AppShimMsg_RequestUserAttention, On 2014/08/13 03:37:08, tapted wrote: > So.. now ...
6 years, 4 months ago (2014-08-13 05:53:46 UTC) #3
tapted
Did you see my comment about tests :3 https://codereview.chromium.org/461303002/diff/20001/apps/app_shim/app_shim_messages.h File apps/app_shim/app_shim_messages.h (right): https://codereview.chromium.org/461303002/diff/20001/apps/app_shim/app_shim_messages.h#newcode27 apps/app_shim/app_shim_messages.h:27: // ...
6 years, 4 months ago (2014-08-13 06:53:15 UTC) #4
jackhou1
> Did you see my comment about tests :3 Oh yeah. There's nothing that calls ...
6 years, 4 months ago (2014-08-14 04:24:52 UTC) #5
tapted
lgtm - it would be nice if the test was running with shims enabled (I ...
6 years, 4 months ago (2014-08-14 04:38:51 UTC) #6
jackhou1
On 2014/08/14 04:38:51, tapted wrote: > lgtm - it would be nice if the test ...
6 years, 4 months ago (2014-08-14 05:41:23 UTC) #7
jackhou1
palmer, could you please review IPC changes for security?
6 years, 4 months ago (2014-08-14 05:41:41 UTC) #8
jackhou1
Ping. Also adding rsesek in case palmer is away/busy.
6 years, 4 months ago (2014-08-19 03:09:54 UTC) #9
Robert Sesek
On 2014/08/19 03:09:54, jackhou1 wrote: > Ping. Also adding rsesek in case palmer is away/busy. ...
6 years, 4 months ago (2014-08-19 17:05:26 UTC) #10
chromium-reviews
I'll get to it this afternoon. I'm way behind on reviews after being OOO for ...
6 years, 4 months ago (2014-08-19 17:10:46 UTC) #11
palmer
lgtm
6 years, 4 months ago (2014-08-19 18:14:15 UTC) #12
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 4 months ago (2014-08-19 23:49:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/461303002/40001
6 years, 4 months ago (2014-08-19 23:50:43 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_compile_dbg on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-20 01:11:23 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 01:18:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/7526)
6 years, 4 months ago (2014-08-20 01:18:37 UTC) #17
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 4 months ago (2014-08-20 02:36:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/461303002/60001
6 years, 4 months ago (2014-08-20 02:36:58 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-20 04:26:36 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 05:18:08 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (60001) as 290768

Powered by Google App Engine
This is Rietveld 408576698