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

Issue 365013003: Experimental app list: Custom launcher pages have app APIs and style. (Closed)

Created:
6 years, 5 months ago by Matt Giuca
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, Sam McNally, not at google - send to devlin
Project:
chromium
Visibility:
Public.

Description

Experimental app list: Custom launcher pages have app APIs and style. Added CustomLauncherPageContents, which is copied from AppWindowContents and modified to provide launcher pages instead. This correctly dispatches messages to the extensions system. The extension inside the launcher page is now "activated" which ensures that it is styled as a platform app and given the correct APIs by the extension dispatcher. BUG=391137 BUG=391202 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282530

Patch Set 1 #

Patch Set 2 : Remove Dispatcher changes; split out into CL 371563005. #

Total comments: 2

Patch Set 3 : Made APIs work by introducing CustomLauncherPageContents. #

Total comments: 4

Patch Set 4 : kalman nits. #

Patch Set 5 : Use PAGE_TRANSITION_AUTO_TOPLEVEL instead of PAGE_TRANSITION_LINK. #

Total comments: 12

Patch Set 6 : Address tapted's comments. #

Total comments: 2

Patch Set 7 : No this. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -17 lines) Patch
M apps/apps.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A apps/custom_launcher_page_contents.h View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A apps/custom_launcher_page_contents.cc View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_view_delegate.h View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_view_delegate.cc View 1 2 3 4 5 6 4 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Matt Giuca
Hey, this CL is kind of two separate changes (the two files), but I think ...
6 years, 5 months ago (2014-07-03 08:25:57 UTC) #1
Matt Giuca
Oops, just realised that the APIs don't actually work (they must not be hooked up ...
6 years, 5 months ago (2014-07-04 01:48:23 UTC) #2
benwells
As discussed: a) I don't know if the dispatcher change is good or not. I ...
6 years, 5 months ago (2014-07-04 04:06:39 UTC) #3
Matt Giuca
OK I have split the Dispatcher changes into https://codereview.chromium.org/371563005/ and removed kalman as a reviewer ...
6 years, 5 months ago (2014-07-04 04:16:22 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/365013003/diff/20001/chrome/browser/ui/app_list/app_list_view_delegate.cc File chrome/browser/ui/app_list/app_list_view_delegate.cc (right): https://codereview.chromium.org/365013003/diff/20001/chrome/browser/ui/app_list/app_list_view_delegate.cc#newcode169 chrome/browser/ui/app_list/app_list_view_delegate.cc:169: // which allows Dispatcher to give it the proper ...
6 years, 5 months ago (2014-07-07 14:50:10 UTC) #5
Matt Giuca
Full implementation as requested by Ben (Wells). As he is on vacation, I can get ...
6 years, 5 months ago (2014-07-09 15:05:30 UTC) #6
not at google - send to devlin
lgtm I am owner of apps/ but I don't have the product background. code looks ...
6 years, 5 months ago (2014-07-09 15:14:39 UTC) #7
Matt Giuca
Hi Trent, In benwells' absence, can you look at this CL? Thanks. https://codereview.chromium.org/365013003/diff/60001/apps/custom_launcher_page_contents.h File apps/custom_launcher_page_contents.h ...
6 years, 5 months ago (2014-07-10 03:45:17 UTC) #8
tapted
https://codereview.chromium.org/365013003/diff/100001/apps/custom_launcher_page_contents.cc File apps/custom_launcher_page_contents.cc (right): https://codereview.chromium.org/365013003/diff/100001/apps/custom_launcher_page_contents.cc#newcode35 apps/custom_launcher_page_contents.cc:35: content::WebContentsObserver::Observe(web_contents_.get()); nit: omit content::WebContentsObserver:: ? https://codereview.chromium.org/365013003/diff/100001/apps/custom_launcher_page_contents.h File apps/custom_launcher_page_contents.h (right): ...
6 years, 5 months ago (2014-07-10 04:29:34 UTC) #9
Matt Giuca
https://codereview.chromium.org/365013003/diff/100001/apps/custom_launcher_page_contents.cc File apps/custom_launcher_page_contents.cc (right): https://codereview.chromium.org/365013003/diff/100001/apps/custom_launcher_page_contents.cc#newcode35 apps/custom_launcher_page_contents.cc:35: content::WebContentsObserver::Observe(web_contents_.get()); On 2014/07/10 04:29:34, tapted wrote: > nit: omit ...
6 years, 5 months ago (2014-07-10 07:37:03 UTC) #10
tapted
lgtm https://codereview.chromium.org/365013003/diff/140001/chrome/browser/ui/app_list/app_list_view_delegate.cc File chrome/browser/ui/app_list/app_list_view_delegate.cc (right): https://codereview.chromium.org/365013003/diff/140001/chrome/browser/ui/app_list/app_list_view_delegate.cc#newcode471 chrome/browser/ui/app_list/app_list_view_delegate.cc:471: DCHECK_EQ(this->profile_, web_contents->GetBrowserContext()); nit: no `this->` (sorry - probably ...
6 years, 5 months ago (2014-07-10 09:26:52 UTC) #11
Matt Giuca
https://codereview.chromium.org/365013003/diff/140001/chrome/browser/ui/app_list/app_list_view_delegate.cc File chrome/browser/ui/app_list/app_list_view_delegate.cc (right): https://codereview.chromium.org/365013003/diff/140001/chrome/browser/ui/app_list/app_list_view_delegate.cc#newcode471 chrome/browser/ui/app_list/app_list_view_delegate.cc:471: DCHECK_EQ(this->profile_, web_contents->GetBrowserContext()); On 2014/07/10 09:26:52, tapted wrote: > nit: ...
6 years, 5 months ago (2014-07-11 00:16:12 UTC) #12
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 5 months ago (2014-07-11 00:23:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/365013003/160001
6 years, 5 months ago (2014-07-11 00:25:52 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 03:49:14 UTC) #15
Message was sent while issue was closed.
Change committed as 282530

Powered by Google App Engine
This is Rietveld 408576698