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

Issue 468393005: app_shell: Shut down in response to power button. (Closed)

Created:
6 years, 4 months ago by Daniel Erat
Modified:
6 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, kalyank, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

app_shell: Shut down in response to power button. Also fix a dependency issue in chromeos_test_support_without_gmock, make ExtensionsTestSuite call GLSurface::InitializeOneOffForTests(), and avoid double-initializating Aura in app_shell. BUG=405967 Committed: https://crrev.com/5a4560307a4250de157ac7af8954f4b059ed9fc2 Cr-Commit-Position: refs/heads/master@{#291607}

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : fix a comment #

Total comments: 12

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -83 lines) Patch
M chromeos/chromeos.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_power_manager_client.h View 1 2 2 chunks +9 lines, -14 lines 0 comments Download
M chromeos/dbus/fake_power_manager_client.cc View 1 5 chunks +29 lines, -20 lines 0 comments Download
M extensions/shell/app_shell.gyp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_browser_main_parts.cc View 1 3 chunks +4 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_desktop_controller.h View 1 5 chunks +13 lines, -8 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller.cc View 1 7 chunks +54 lines, -39 lines 0 comments Download
A extensions/shell/browser/shell_desktop_controller_unittest.cc View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
M extensions/test/extensions_unittests_main.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
Daniel Erat
james: please review everything yoz: extensions/test dana: ui/compositor oshima: fyi for aura; let me know ...
6 years, 4 months ago (2014-08-22 20:41:35 UTC) #1
danakj
LGTM
6 years, 4 months ago (2014-08-22 20:47:28 UTC) #2
oshima
one q: https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller.cc File extensions/shell/browser/shell_desktop_controller.cc (left): https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller.cc#oldcode166 extensions/shell/browser/shell_desktop_controller.cc:166: aura::Env::CreateInstance(true); where Create/Delete Instance are called now?
6 years, 4 months ago (2014-08-22 21:15:33 UTC) #3
Daniel Erat
https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller.cc File extensions/shell/browser/shell_desktop_controller.cc (left): https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller.cc#oldcode166 extensions/shell/browser/shell_desktop_controller.cc:166: aura::Env::CreateInstance(true); On 2014/08/22 21:15:33, oshima wrote: > where Create/Delete ...
6 years, 4 months ago (2014-08-22 21:26:13 UTC) #4
oshima
On 2014/08/22 21:26:13, Daniel Erat wrote: > https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller.cc > File extensions/shell/browser/shell_desktop_controller.cc (left): > > https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller.cc#oldcode166 ...
6 years, 4 months ago (2014-08-22 21:35:17 UTC) #5
James Cook
LGTM with nits https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller_unittest.cc File extensions/shell/browser/shell_desktop_controller_unittest.cc (right): https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller_unittest.cc#newcode7 extensions/shell/browser/shell_desktop_controller_unittest.cc:7: #include "base/macros.h" Nice IWYU https://codereview.chromium.org/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller_unittest.cc#newcode55 extensions/shell/browser/shell_desktop_controller_unittest.cc:55: ...
6 years, 4 months ago (2014-08-23 00:55:01 UTC) #6
Yoyo Zhou
extensions/test LGTM https://chromiumcodereview.appspot.com/468393005/diff/40001/extensions/test/extensions_unittests_main.cc File extensions/test/extensions_unittests_main.cc (right): https://chromiumcodereview.appspot.com/468393005/diff/40001/extensions/test/extensions_unittests_main.cc#newcode68 extensions/test/extensions_unittests_main.cc:68: gfx::GLSurface::InitializeOneOffForTests(); Hah, James commented in my earlier ...
6 years, 4 months ago (2014-08-23 01:18:03 UTC) #7
Daniel Erat
https://chromiumcodereview.appspot.com/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller_unittest.cc File extensions/shell/browser/shell_desktop_controller_unittest.cc (right): https://chromiumcodereview.appspot.com/468393005/diff/40001/extensions/shell/browser/shell_desktop_controller_unittest.cc#newcode55 extensions/shell/browser/shell_desktop_controller_unittest.cc:55: chromeos::FakePowerManagerClient* power_manager_client_; // Weak pointer. On 2014/08/23 00:55:00, James ...
6 years, 4 months ago (2014-08-23 02:21:31 UTC) #8
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 4 months ago (2014-08-23 02:38:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/468393005/60001
6 years, 4 months ago (2014-08-23 04:56:34 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-23 11:23:47 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-23 13:17:37 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/7298)
6 years, 4 months ago (2014-08-23 13:17:38 UTC) #13
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 4 months ago (2014-08-23 14:24:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/468393005/60001
6 years, 4 months ago (2014-08-23 14:26:11 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (60001) as 84e6ea79d2e51795da8e9e1396b6e0af754ad4c1
6 years, 4 months ago (2014-08-23 22:18:16 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:32:02 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5a4560307a4250de157ac7af8954f4b059ed9fc2
Cr-Commit-Position: refs/heads/master@{#291607}

Powered by Google App Engine
This is Rietveld 408576698