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

Issue 308783002: Removes the dependency to WMTestHelper from app shell. (Closed)

Created:
6 years, 6 months ago by Jun Mukai
Modified:
6 years, 6 months ago
Reviewers:
tfarina, James Cook, oshima
CC:
chromium-reviews, tfarina, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Removes the dependency to WMTestHelper from app shell. Also ShellDesktopController has its own logic to initialize the window manager, and its subclass (like Athena) can initialize its own window management logic. R=jamescook@chromium.org, oshima@chromium.org TEST=no logic changes, confirmed athena_main running BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274263

Patch Set 1 #

Patch Set 2 : comment fix #

Total comments: 3

Patch Set 3 : fix #

Total comments: 17

Patch Set 4 : fix #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -64 lines) Patch
M apps/shell/app_shell.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M apps/shell/browser/default_shell_browser_main_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M apps/shell/browser/default_shell_browser_main_delegate.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_browser_main_delegate.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_browser_main_parts.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M apps/shell/browser/shell_browser_main_parts.cc View 1 2 3 chunks +2 lines, -10 lines 0 comments Download
M apps/shell/browser/shell_desktop_controller.h View 1 2 3 4 8 chunks +44 lines, -13 lines 0 comments Download
M apps/shell/browser/shell_desktop_controller.cc View 1 2 3 9 chunks +96 lines, -32 lines 0 comments Download
M athena/main/athena_main.cc View 1 2 3 4 5 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Jun Mukai
6 years, 6 months ago (2014-05-29 22:15:45 UTC) #1
oshima
I assume you're going to define a interface for desktop controller in next CL? https://codereview.chromium.org/308783002/diff/20001/apps/shell/browser/shell_browser_main_parts.cc ...
6 years, 6 months ago (2014-05-29 23:06:59 UTC) #2
Jun Mukai
I believe that many of DesktopController can be shared between app shell and athena. I ...
6 years, 6 months ago (2014-05-29 23:26:43 UTC) #3
Jun Mukai
https://codereview.chromium.org/308783002/diff/20001/apps/shell/browser/shell_browser_main_parts.cc File apps/shell/browser/shell_browser_main_parts.cc (right): https://codereview.chromium.org/308783002/diff/20001/apps/shell/browser/shell_browser_main_parts.cc#newcode155 apps/shell/browser/shell_browser_main_parts.cc:155: base::MessageLoop::QuitClosure()); On 2014/05/29 23:26:44, Jun Mukai wrote: > On ...
6 years, 6 months ago (2014-05-30 00:59:03 UTC) #4
James Cook
Overall approach seems fine, I'll take a look in detail after oshima.
6 years, 6 months ago (2014-05-30 15:43:32 UTC) #5
oshima
lgtm with nits https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_desktop_controller.cc File apps/shell/browser/shell_desktop_controller.cc (right): https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_desktop_controller.cc#newcode149 apps/shell/browser/shell_desktop_controller.cc:149: virtual dtor https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_desktop_controller.cc#newcode290 apps/shell/browser/shell_desktop_controller.cc:290: return; when ...
6 years, 6 months ago (2014-05-30 16:22:50 UTC) #6
James Cook
LGTM with nits https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_browser_main_delegate.h File apps/shell/browser/shell_browser_main_delegate.h (right): https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_browser_main_delegate.h#newcode30 apps/shell/browser/shell_browser_main_delegate.h:30: // windo wmanager. nit: "window manager" ...
6 years, 6 months ago (2014-05-30 17:30:18 UTC) #7
Jun Mukai
https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_browser_main_delegate.h File apps/shell/browser/shell_browser_main_delegate.h (right): https://codereview.chromium.org/308783002/diff/40001/apps/shell/browser/shell_browser_main_delegate.h#newcode30 apps/shell/browser/shell_browser_main_delegate.h:30: // windo wmanager. On 2014/05/30 17:30:18, James Cook wrote: ...
6 years, 6 months ago (2014-05-30 19:57:46 UTC) #8
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 6 months ago (2014-05-30 19:57:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/308783002/60001
6 years, 6 months ago (2014-05-30 20:02:07 UTC) #10
tfarina
https://codereview.chromium.org/308783002/diff/60001/apps/shell/browser/shell_desktop_controller.h File apps/shell/browser/shell_desktop_controller.h (right): https://codereview.chromium.org/308783002/diff/60001/apps/shell/browser/shell_desktop_controller.h#newcode72 apps/shell/browser/shell_desktop_controller.h:72: }; ouch. no, no need of ; here. No ...
6 years, 6 months ago (2014-05-30 20:05:51 UTC) #11
tfarina
https://codereview.chromium.org/308783002/diff/60001/apps/shell/browser/shell_desktop_controller.cc File apps/shell/browser/shell_desktop_controller.cc (left): https://codereview.chromium.org/308783002/diff/60001/apps/shell/browser/shell_desktop_controller.cc#oldcode25 apps/shell/browser/shell_desktop_controller.cc:25: #include "ui/wm/test/wm_test_helper.h" if you are removing this, then can ...
6 years, 6 months ago (2014-05-30 20:08:20 UTC) #12
tfarina
The CQ bit was unchecked by tfarina@chromium.org
6 years, 6 months ago (2014-05-30 20:08:27 UTC) #13
Jun Mukai
nice catches! https://codereview.chromium.org/308783002/diff/60001/apps/shell/browser/shell_desktop_controller.cc File apps/shell/browser/shell_desktop_controller.cc (left): https://codereview.chromium.org/308783002/diff/60001/apps/shell/browser/shell_desktop_controller.cc#oldcode25 apps/shell/browser/shell_desktop_controller.cc:25: #include "ui/wm/test/wm_test_helper.h" On 2014/05/30 20:08:20, tfarina wrote: ...
6 years, 6 months ago (2014-05-30 20:13:32 UTC) #14
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 6 months ago (2014-05-30 20:13:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/308783002/80001
6 years, 6 months ago (2014-05-30 20:16:58 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-31 01:24:53 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 02:25:38 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/158439)
6 years, 6 months ago (2014-05-31 02:25:39 UTC) #19
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 6 months ago (2014-06-02 01:20:35 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/308783002/80001
6 years, 6 months ago (2014-06-02 01:20:43 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 05:33:48 UTC) #22
commit-bot: I haz the power
Failed to apply patch for athena/main/athena_main.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-02 05:33:49 UTC) #23
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 6 months ago (2014-06-02 16:51:19 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/308783002/80001
6 years, 6 months ago (2014-06-02 16:52:22 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 16:53:34 UTC) #26
commit-bot: I haz the power
Failed to apply patch for athena/main/athena_main.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-02 16:53:35 UTC) #27
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 6 months ago (2014-06-02 16:55:34 UTC) #28
Jun Mukai
The CQ bit was unchecked by mukai@chromium.org
6 years, 6 months ago (2014-06-02 16:55:39 UTC) #29
Jun Mukai
6 years, 6 months ago (2014-06-02 16:56:06 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 manually as r274263 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698