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

Issue 631333003: Adding application lifetime tests to athena, allowing to override focus request for applciations (Closed)

Created:
6 years, 2 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 2 months ago
Reviewers:
miket_OOO, oshima
CC:
chromium-reviews, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding application lifetime tests to athena, allowing to override focus request for applciations Background: For Athena we have an intelligent applciation management which allows us to load and unload applications / activities at any time. In some cases we "pre-load" applications to short loading time. In that case we do not want that the application can show its window activated (thus bringing it to front). Instead we have to override that request. At the same time several things have changed in the application window framework which required. The Browsertests are testing the activation override as well as the activity order upon (re-)creation. I added miket as OWNER for the extensions/* changes. BUG=419379 TEST=AppActivityBrowserTest.CreatedAppGetsFocus, AppActivityBrowserTest.UnloadReloadApplicationInPlace, AppActivityBrowserTest.ReloadActivatedApplication, AppActivityBrowserTest.ReloadMovedApplication Committed: https://crrev.com/3498b1da35e90bcd6ee5b85951a7dc9e4e735be4 Cr-Commit-Position: refs/heads/master@{#299003}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed activation #

Total comments: 23

Patch Set 3 : Addressed #

Total comments: 4

Patch Set 4 : . #

Patch Set 5 : Added comments #

Patch Set 6 : . #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -28 lines) Patch
M athena/content/app_activity.cc View 1 2 3 4 4 chunks +28 lines, -5 lines 0 comments Download
M athena/content/app_activity_browsertest.cc View 1 2 2 chunks +190 lines, -1 line 0 comments Download
M athena/content/app_activity_proxy.h View 1 chunk +3 lines, -0 lines 0 comments Download
M athena/content/app_activity_proxy.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download
M athena/content/content_proxy.cc View 1 chunk +4 lines, -1 line 0 comments Download
M athena/extensions/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M athena/extensions/athena_app_window_client_base.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M athena/extensions/athena_app_window_client_base.cc View 1 2 3 4 5 6 2 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/ui/apps/chrome_app_window_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/apps/chrome_app_window_client.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M extensions/browser/app_window/app_window.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_window/app_window_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_registry.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_app_window_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_app_window_client.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Mr4D (OOO till 08-26)
Please have a look!
6 years, 2 months ago (2014-10-07 22:02:23 UTC) #2
miket_OOO
lgtm https://codereview.chromium.org/631333003/diff/1/extensions/browser/extension_registry.h File extensions/browser/extension_registry.h (right): https://codereview.chromium.org/631333003/diff/1/extensions/browser/extension_registry.h#newcode48 extensions/browser/extension_registry.h:48: // NOTE: These sets are *eventually* mutually exclusive, ...
6 years, 2 months ago (2014-10-07 22:58:21 UTC) #3
oshima
https://codereview.chromium.org/631333003/diff/20001/athena/content/app_activity.cc File athena/content/app_activity.cc (right): https://codereview.chromium.org/631333003/diff/20001/athena/content/app_activity.cc#newcode113 athena/content/app_activity.cc:113: // If the proxy was the active window, its ...
6 years, 2 months ago (2014-10-08 19:02:31 UTC) #4
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/631333003/diff/20001/athena/content/app_activity.cc File athena/content/app_activity.cc (right): https://codereview.chromium.org/631333003/diff/20001/athena/content/app_activity.cc#newcode113 athena/content/app_activity.cc:113: // If the proxy was ...
6 years, 2 months ago (2014-10-08 23:48:17 UTC) #5
oshima
https://codereview.chromium.org/631333003/diff/20001/athena/content/app_activity.cc File athena/content/app_activity.cc (right): https://codereview.chromium.org/631333003/diff/20001/athena/content/app_activity.cc#newcode113 athena/content/app_activity.cc:113: // If the proxy was the active window, its ...
6 years, 2 months ago (2014-10-09 04:53:33 UTC) #6
Mr4D (OOO till 08-26)
Have another look! https://codereview.chromium.org/631333003/diff/20001/athena/extensions/athena_app_window_client_base.cc File athena/extensions/athena_app_window_client_base.cc (right): https://codereview.chromium.org/631333003/diff/20001/athena/extensions/athena_app_window_client_base.cc#newcode32 athena/extensions/athena_app_window_client_base.cc:32: // not set the focus since ...
6 years, 2 months ago (2014-10-09 14:46:44 UTC) #7
oshima
https://codereview.chromium.org/631333003/diff/20001/athena/extensions/athena_app_window_client_base.cc File athena/extensions/athena_app_window_client_base.cc (right): https://codereview.chromium.org/631333003/diff/20001/athena/extensions/athena_app_window_client_base.cc#newcode32 athena/extensions/athena_app_window_client_base.cc:32: // not set the focus since it will change ...
6 years, 2 months ago (2014-10-09 16:06:43 UTC) #8
oshima
lgtm https://codereview.chromium.org/631333003/diff/20001/athena/extensions/athena_app_window_client_base.cc File athena/extensions/athena_app_window_client_base.cc (right): https://codereview.chromium.org/631333003/diff/20001/athena/extensions/athena_app_window_client_base.cc#newcode32 athena/extensions/athena_app_window_client_base.cc:32: // not set the focus since it will ...
6 years, 2 months ago (2014-10-09 17:19:20 UTC) #9
Mr4D (OOO till 08-26)
Added comment and created issue to create a browser test for the split view case ...
6 years, 2 months ago (2014-10-09 17:28:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/631333003/90001
6 years, 2 months ago (2014-10-09 17:29:18 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/22482)
6 years, 2 months ago (2014-10-09 18:37:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/631333003/280001
6 years, 2 months ago (2014-10-09 19:32:48 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/22553)
6 years, 2 months ago (2014-10-09 20:21:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/631333003/440001
6 years, 2 months ago (2014-10-09 20:59:59 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:440001)
6 years, 2 months ago (2014-10-09 23:00:09 UTC) #21
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 23:01:07 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3498b1da35e90bcd6ee5b85951a7dc9e4e735be4
Cr-Commit-Position: refs/heads/master@{#299003}

Powered by Google App Engine
This is Rietveld 408576698