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

Issue 558243002: V2 app support step2 : Use NativeAppWindow for Activity's window. (Closed)

Created:
6 years, 3 months ago by oshima
Modified:
6 years, 3 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, extensions-reviews_chromium.org, tfarina, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

V2 app support step2 : Use NativeAppWindow for Activity's window. This CL removes redundant widget created by Activity, and use NativeAppWindow instead. Activity APIs needs to some cleanup and I'll look into it once hashimoto-san finished app_window transition. step3 will replace ChromeAppNativeWindowViews with athena's impl. BUG=410448 Committed: https://crrev.com/be9f162893a0ed54ee4c8f5fac3b8e2a113bea02 Cr-Commit-Position: refs/heads/master@{#294297}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -38 lines) Patch
M athena/activity/activity_view_manager_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M athena/activity/public/activity_factory.h View 2 chunks +8 lines, -2 lines 0 comments Download
M athena/activity/public/activity_view_model.h View 2 chunks +5 lines, -0 lines 0 comments Download
M athena/athena.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/app_activity.h View 2 chunks +1 line, -5 lines 0 comments Download
M athena/content/app_activity.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M athena/content/app_activity_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/app_activity_proxy.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M athena/content/app_activity_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M athena/content/chrome/content_activity_factory.cc View 1 3 chunks +22 lines, -7 lines 0 comments Download
M athena/content/content_activity_factory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M athena/content/shell/content_activity_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M athena/content/shell/shell_app_activity.h View 1 chunk +4 lines, -1 line 0 comments Download
M athena/content/shell/shell_app_activity.cc View 2 chunks +14 lines, -2 lines 0 comments Download
M athena/content/web_activity.h View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/web_activity.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M athena/extensions/chrome/athena_apps_client.cc View 2 chunks +24 lines, -6 lines 0 comments Download
M athena/resource_manager/resource_manager_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M athena/test/sample_activity.h View 1 chunk +1 line, -0 lines 0 comments Download
M athena/test/sample_activity.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M athena/test/sample_activity_factory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M athena/test/sample_activity_factory.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 22 (10 generated)
oshima
https://codereview.chromium.org/558243002/diff/120001/athena/athena.gyp File athena/athena.gyp (right): https://codereview.chromium.org/558243002/diff/120001/athena/athena.gyp#newcode190 athena/athena.gyp:190: '../skia/skia.gyp:skia', this is for webview include (which brings skia ...
6 years, 3 months ago (2014-09-10 21:20:54 UTC) #8
Jun Mukai
I am wondering how these V2 apps will look like in the overview mode. Because ...
6 years, 3 months ago (2014-09-10 23:35:38 UTC) #9
Jun Mukai
https://codereview.chromium.org/558243002/diff/120001/athena/extensions/chrome/athena_apps_client.cc File athena/extensions/chrome/athena_apps_client.cc (right): https://codereview.chromium.org/558243002/diff/120001/athena/extensions/chrome/athena_apps_client.cc#newcode24 athena/extensions/chrome/athena_apps_client.cc:24: class AthenaNativeAppWindowViews : public ChromeNativeAppWindowViews { For the follow-ups ...
6 years, 3 months ago (2014-09-10 23:53:14 UTC) #10
Jun Mukai
https://codereview.chromium.org/558243002/diff/120001/athena/extensions/chrome/athena_apps_client.cc File athena/extensions/chrome/athena_apps_client.cc (right): https://codereview.chromium.org/558243002/diff/120001/athena/extensions/chrome/athena_apps_client.cc#newcode29 athena/extensions/chrome/athena_apps_client.cc:29: views::WebView* GetWebView() { Do you need to expose this? ...
6 years, 3 months ago (2014-09-10 23:58:11 UTC) #11
oshima
https://codereview.chromium.org/558243002/diff/120001/athena/activity/activity_view_manager_impl.cc File athena/activity/activity_view_manager_impl.cc (left): https://codereview.chromium.org/558243002/diff/120001/athena/activity/activity_view_manager_impl.cc#oldcode30 athena/activity/activity_view_manager_impl.cc:30: params.activatable = views::Widget::InitParams::ACTIVATABLE_YES; On 2014/09/10 23:35:38, Jun Mukai wrote: ...
6 years, 3 months ago (2014-09-11 00:12:34 UTC) #12
oshima
On 2014/09/10 23:35:38, Jun Mukai wrote: > I am wondering how these V2 apps will ...
6 years, 3 months ago (2014-09-11 00:19:59 UTC) #13
oshima
https://codereview.chromium.org/558243002/diff/120001/athena/extensions/chrome/athena_apps_client.cc File athena/extensions/chrome/athena_apps_client.cc (right): https://codereview.chromium.org/558243002/diff/120001/athena/extensions/chrome/athena_apps_client.cc#newcode24 athena/extensions/chrome/athena_apps_client.cc:24: class AthenaNativeAppWindowViews : public ChromeNativeAppWindowViews { On 2014/09/10 23:53:14, ...
6 years, 3 months ago (2014-09-11 00:20:56 UTC) #14
Jun Mukai
Okay, then it lgtm as a step 2. Waiting for step 3! # by the ...
6 years, 3 months ago (2014-09-11 00:24:15 UTC) #15
oshima
On 2014/09/11 00:24:15, Jun Mukai wrote: > Okay, then it lgtm as a step 2. ...
6 years, 3 months ago (2014-09-11 00:28:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/558243002/140001
6 years, 3 months ago (2014-09-11 00:37:33 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:140001) as 9f4bf07da7ab86013b1a75ec4a905ebde0346723
6 years, 3 months ago (2014-09-11 02:24:40 UTC) #21
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 03:09:17 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/be9f162893a0ed54ee4c8f5fac3b8e2a113bea02
Cr-Commit-Position: refs/heads/master@{#294297}

Powered by Google App Engine
This is Rietveld 408576698