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

Issue 480353006: Separate athena's startup process from AppShell's (Closed)

Created:
6 years, 4 months ago by oshima
Modified:
6 years, 3 months ago
Reviewers:
James Cook, Jun Mukai, sky
CC:
chromium-reviews, tfarina, sadrul, ben+ash_chromium.org, kalyank, Dmitry Polukhin
Project:
chromium
Visibility:
Public.

Description

Separate athena's startup process from AppShell's * Introduced DesktopController interface. app_shell's Init process stays in ShellDesktopController * Removed ShellAppWindowController * Athena has its own AthenaDesktopController * Intorduced AthenaEnv. This is now used for both AthenaMain and Unit test. * Removed ScreenManagerDelegate and integrate it into AthenaEnv. * Moved FocusController to ScreenManager, and removed CreateFocusRules() BUG=397167 TBR=sky@chromium.org Committed: https://crrev.com/1629c184e328e7263e93042de97af58651ebe510 Cr-Commit-Position: refs/heads/master@{#291763}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : deps fix #

Patch Set 4 : rebase #

Patch Set 5 : reformat #

Total comments: 14

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : set default screen size #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+501 lines, -403 lines) Patch
M athena/athena.gyp View 3 chunks +2 lines, -3 lines 0 comments Download
A + athena/env/DEPS View 1 chunk +3 lines, -3 lines 0 comments Download
A athena/env/athena_env_impl.cc View 1 2 3 4 5 6 1 chunk +260 lines, -0 lines 0 comments Download
A + athena/env/public/DEPS View 1 chunk +1 line, -1 line 0 comments Download
A athena/env/public/athena_env.h View 1 chunk +39 lines, -0 lines 0 comments Download
M athena/home/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M athena/home/home_card_impl.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M athena/main/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M athena/main/athena_launcher.h View 1 chunk +1 line, -4 lines 0 comments Download
M athena/main/athena_launcher.cc View 5 chunks +8 lines, -4 lines 0 comments Download
M athena/main/athena_main.cc View 1 2 3 4 chunks +26 lines, -44 lines 0 comments Download
M athena/main/athena_main.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M athena/screen/public/screen_manager.h View 2 chunks +1 line, -9 lines 0 comments Download
D athena/screen/public/screen_manager_delegate.h View 1 chunk +0 lines, -27 lines 0 comments Download
M athena/screen/screen_manager_impl.cc View 9 chunks +20 lines, -20 lines 0 comments Download
M athena/test/DEPS View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M athena/test/athena_test_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M athena/test/athena_test_helper.h View 3 chunks +2 lines, -8 lines 0 comments Download
M athena/test/athena_test_helper.cc View 4 chunks +11 lines, -52 lines 0 comments Download
D athena/test/test_screen_manager_delegate.h View 1 chunk +0 lines, -36 lines 0 comments Download
D athena/test/test_screen_manager_delegate.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M extensions/shell/app_shell.gyp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/api/shell/shell_api.cc View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
D extensions/shell/browser/default_shell_app_window_controller.h View 1 2 3 4 5 1 chunk +0 lines, -40 lines 0 comments Download
D extensions/shell/browser/default_shell_app_window_controller.cc View 1 2 3 4 5 1 chunk +0 lines, -46 lines 0 comments Download
M extensions/shell/browser/default_shell_browser_main_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/default_shell_browser_main_delegate.cc View 2 chunks +2 lines, -6 lines 0 comments Download
A extensions/shell/browser/desktop_controller.h View 1 2 3 4 5 6 1 chunk +49 lines, -0 lines 0 comments Download
A extensions/shell/browser/desktop_controller.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_browser_main_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_browser_main_parts.h View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller.h View 1 2 3 4 5 7 chunks +9 lines, -29 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller.cc View 1 2 3 4 5 6 chunks +17 lines, -30 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
oshima
mukai -> everything jamescook -> extensions/shell
6 years, 4 months ago (2014-08-23 00:53:42 UTC) #1
Jun Mukai
superficial comments... https://codereview.chromium.org/480353006/diff/320001/athena/env/athena_env_impl.cc File athena/env/athena_env_impl.cc (right): https://codereview.chromium.org/480353006/diff/320001/athena/env/athena_env_impl.cc#newcode222 athena/env/athena_env_impl.cc:222: scoped_ptr< ::wm::InputMethodEventFilter> input_method_filter_; Does it have to ...
6 years, 4 months ago (2014-08-23 01:11:12 UTC) #2
Jun Mukai
one more nitpick https://codereview.chromium.org/480353006/diff/320001/athena/env/athena_env_impl.cc File athena/env/athena_env_impl.cc (right): https://codereview.chromium.org/480353006/diff/320001/athena/env/athena_env_impl.cc#newcode113 athena/env/athena_env_impl.cc:113: screen_size.SetSize(1280, 720); If it falls back ...
6 years, 4 months ago (2014-08-23 01:15:36 UTC) #3
oshima
https://codereview.chromium.org/480353006/diff/320001/athena/env/athena_env_impl.cc File athena/env/athena_env_impl.cc (right): https://codereview.chromium.org/480353006/diff/320001/athena/env/athena_env_impl.cc#newcode113 athena/env/athena_env_impl.cc:113: screen_size.SetSize(1280, 720); On 2014/08/23 01:15:35, Jun Mukai wrote: > ...
6 years, 4 months ago (2014-08-23 01:19:36 UTC) #4
Jun Mukai
athena lgtm
6 years, 4 months ago (2014-08-23 01:24:21 UTC) #5
oshima
6 years, 4 months ago (2014-08-25 14:12:41 UTC) #6
James Cook
I only looked at extensions/shell/*. I like it. Just a few nits/questions. https://codereview.chromium.org/480353006/diff/400001/extensions/shell/app_shell.gyp File extensions/shell/app_shell.gyp ...
6 years, 4 months ago (2014-08-25 16:56:15 UTC) #7
oshima
https://codereview.chromium.org/480353006/diff/400001/extensions/shell/app_shell.gyp File extensions/shell/app_shell.gyp (left): https://codereview.chromium.org/480353006/diff/400001/extensions/shell/app_shell.gyp#oldcode54 extensions/shell/app_shell.gyp:54: 'browser/default_shell_app_window_controller.cc', On 2014/08/25 16:56:14, James Cook wrote: > Can ...
6 years, 4 months ago (2014-08-25 17:29:33 UTC) #8
James Cook
LGTM! https://codereview.chromium.org/480353006/diff/420001/extensions/shell/browser/desktop_controller.h File extensions/shell/browser/desktop_controller.h (right): https://codereview.chromium.org/480353006/diff/420001/extensions/shell/browser/desktop_controller.h#newcode21 extensions/shell/browser/desktop_controller.h:21: // extensions shell. ShellDesktopController provides a default implementation ...
6 years, 4 months ago (2014-08-25 17:35:45 UTC) #9
oshima
https://codereview.chromium.org/480353006/diff/420001/extensions/shell/browser/desktop_controller.h File extensions/shell/browser/desktop_controller.h (right): https://codereview.chromium.org/480353006/diff/420001/extensions/shell/browser/desktop_controller.h#newcode21 extensions/shell/browser/desktop_controller.h:21: // extensions shell. ShellDesktopController provides a default implementation for ...
6 years, 4 months ago (2014-08-25 19:06:54 UTC) #10
oshima
oshima@chromium.org changed reviewers: + sky@chromium.org
6 years, 4 months ago (2014-08-25 19:21:47 UTC) #11
oshima
tbr'ing sky for following deps in athena/env/DEPS, which other athena modules already have. ui/gfx ui/wm/ ...
6 years, 4 months ago (2014-08-25 19:21:48 UTC) #12
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 4 months ago (2014-08-25 19:21:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/480353006/480001
6 years, 4 months ago (2014-08-25 19:22:35 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-25 20:35:10 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (480001) as 8a02bf3fcefb691dbbfb673e274bb8297f82cf66
6 years, 4 months ago (2014-08-25 21:33:11 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:37:39 UTC) #17
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/1629c184e328e7263e93042de97af58651ebe510
Cr-Commit-Position: refs/heads/master@{#291763}

Powered by Google App Engine
This is Rietveld 408576698