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

Issue 298303002: Add option to install an ephemeral app to ChromeOS shelf context menu (Closed)

Created:
6 years, 7 months ago by tmdiep
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, extensions-reviews_chromium.org, sadrul, tfarina, kalyank, chromium-apps-reviews_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add option to install an ephemeral app to ChromeOS shelf context menu This is the ChromeOS implementation for adding an option to install an ephemeral app in the shelf context menu. Includes some refactoring of the WebstoreStandaloneInstallers to reuse common code. BUG=339253 TEST=browser_tests (LauncherPlatformAppBrowserTest.InstallEphemeralApp) Manual: Enable the ephemeral apps experimental feature and launch an ephemeral app. Right-click on the app's icon in the shelf. There should be an "Install app" item, which invoked, will install the app and make it visible in the app launcher and NTP. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273749

Patch Set 1 #

Patch Set 2 : Added browser test #

Total comments: 21

Patch Set 3 : Addressed tapted's review comments #

Total comments: 5

Patch Set 4 : Addressed skuhne's review comments #

Patch Set 5 : Addressed asargent's review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -132 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -5 lines 0 comments Download
A chrome/browser/extensions/webstore_install_with_prompt.h View 1 2 3 4 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/browser/extensions/webstore_install_with_prompt.cc View 1 2 3 4 1 chunk +104 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_startup_installer.h View 1 2 3 4 3 chunks +6 lines, -30 lines 0 comments Download
M chrome/browser/extensions/webstore_startup_installer.cc View 1 2 3 4 2 chunks +5 lines, -60 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_installer.h View 1 2 3 4 2 chunks +2 lines, -18 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_installer.cc View 1 2 3 4 1 chunk +4 lines, -19 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc View 1 2 3 4 3 chunks +41 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 2 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 2 3 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
tmdiep
This is the ChromeOS equivalent of the "Install app" item in the Windows jumplist (please ...
6 years, 7 months ago (2014-05-28 03:25:42 UTC) #1
tapted
the webstore installer stuff isn't too familiar to me - it might be good to ...
6 years, 6 months ago (2014-05-28 06:28:46 UTC) #2
tmdiep
Thanks for the review! Comments addressed in patch set 3. https://codereview.chromium.org/298303002/diff/20001/chrome/browser/extensions/webstore_install_prompt.cc File chrome/browser/extensions/webstore_install_prompt.cc (right): https://codereview.chromium.org/298303002/diff/20001/chrome/browser/extensions/webstore_install_prompt.cc#newcode70 ...
6 years, 6 months ago (2014-05-28 08:39:27 UTC) #3
tmdiep
asargent: Can you please look over the refactoring of the installers, thanks!
6 years, 6 months ago (2014-05-28 08:40:26 UTC) #4
tapted
lgtm but wait for Antony (and you'll need skuhne@ for ash/launcher OWNERS) https://codereview.chromium.org/298303002/diff/20001/chrome/browser/extensions/webstore_install_prompt.h File chrome/browser/extensions/webstore_install_prompt.h ...
6 years, 6 months ago (2014-05-28 12:57:32 UTC) #5
Mr4D (OOO till 08-26)
Please see my comments! https://codereview.chromium.org/298303002/diff/80001/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc File chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc (right): https://codereview.chromium.org/298303002/diff/80001/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc#newcode162 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc:162: parent_window ? parent_window->GetNativeWindow() : NULL, ...
6 years, 6 months ago (2014-05-28 15:42:15 UTC) #6
tmdiep
Thanks for the comments. https://codereview.chromium.org/298303002/diff/80001/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc File chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc (right): https://codereview.chromium.org/298303002/diff/80001/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc#newcode162 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc:162: parent_window ? parent_window->GetNativeWindow() : NULL, ...
6 years, 6 months ago (2014-05-28 23:22:20 UTC) #7
asargent_no_longer_on_chrome
webstore installer changes lgtm w/ a question about whether we can come up with a ...
6 years, 6 months ago (2014-05-28 23:33:03 UTC) #8
Mr4D (OOO till 08-26)
The only thing - which escapes the scope of this CL - what I would ...
6 years, 6 months ago (2014-05-29 00:15:38 UTC) #9
tmdiep
On 2014/05/28 23:33:03, Antony Sargent wrote: > webstore installer changes lgtm w/ a question about ...
6 years, 6 months ago (2014-05-29 00:16:36 UTC) #10
tmdiep
Patch set 4 - Addresses Skuhne's review comments (parent window of the install dialog) Patch ...
6 years, 6 months ago (2014-05-29 02:00:27 UTC) #11
asargent_no_longer_on_chrome
still lgtm, in case you were waiting for me Also, I like your renaming suggestions ...
6 years, 6 months ago (2014-05-29 17:28:46 UTC) #12
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-05-29 22:29:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/298303002/140001
6 years, 6 months ago (2014-05-29 22:30:16 UTC) #14
tmdiep
On 2014/05/29 17:28:46, Antony Sargent wrote: > Also, I like your renaming suggestions for the ...
6 years, 6 months ago (2014-05-29 23:28:10 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 02:07:50 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 07:19:40 UTC) #17
Message was sent while issue was closed.
Change committed as 273749

Powered by Google App Engine
This is Rietveld 408576698