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

Issue 258243002: Support "Pin to taskbar" for hosted app windows. (Closed)

Created:
6 years, 7 months ago by calamity
Modified:
6 years, 7 months ago
Reviewers:
jackhou1, sky
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support "Pin to taskbar" for hosted app windows. This CL allows hosted app windows to be pinned to the taskbar by right-clicking the taskbar icon and pressing the "Pin to taskbar" button. This CL pulls out the code that sets the relaunch details of v2 app windows into web::UpdateRelaunchDetails. BUG=368101 TEST=Run a hosted app as a window. Pin it from the taskbar icon right click menu. Relaunch the app from the pinned icon. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272851 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272923

Patch Set 1 : #

Total comments: 7

Patch Set 2 : remove worker #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : fix nit #

Patch Set 5 : fix test for XP #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -62 lines) Patch
M chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc View 1 2 3 chunks +1 line, -62 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_window_property_manager_browsertest_win.cc View 1 2 3 4 3 chunks +94 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_window_property_manager_win.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 3 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
calamity
6 years, 7 months ago (2014-04-29 07:05:07 UTC) #1
jackhou1
https://codereview.chromium.org/258243002/diff/30009/chrome/browser/web_applications/update_relaunch_details_worker_win.cc File chrome/browser/web_applications/update_relaunch_details_worker_win.cc (right): https://codereview.chromium.org/258243002/diff/30009/chrome/browser/web_applications/update_relaunch_details_worker_win.cc#newcode34 chrome/browser/web_applications/update_relaunch_details_worker_win.cc:34: extension_, Do you really need a worker object for ...
6 years, 7 months ago (2014-04-29 08:50:18 UTC) #2
calamity
Ack, didn't upload a rebase patch. I think it's not going to matter too much ...
6 years, 7 months ago (2014-05-19 06:11:53 UTC) #3
jackhou1
lgtm CL description needs update. https://codereview.chromium.org/258243002/diff/30009/chrome/browser/web_applications/update_relaunch_details_worker_win.cc File chrome/browser/web_applications/update_relaunch_details_worker_win.cc (right): https://codereview.chromium.org/258243002/diff/30009/chrome/browser/web_applications/update_relaunch_details_worker_win.cc#newcode34 chrome/browser/web_applications/update_relaunch_details_worker_win.cc:34: extension_, On 2014/05/19 06:11:54, ...
6 years, 7 months ago (2014-05-22 03:43:53 UTC) #4
calamity
+sky for c/b/ui/views OWNERS. Thanks.
6 years, 7 months ago (2014-05-23 03:58:38 UTC) #5
sky
LGTM https://codereview.chromium.org/258243002/diff/100001/chrome/browser/web_applications/web_app_win.cc File chrome/browser/web_applications/web_app_win.cc (right): https://codereview.chromium.org/258243002/diff/100001/chrome/browser/web_applications/web_app_win.cc#newcode347 chrome/browser/web_applications/web_app_win.cc:347: if (!base::PathExists(web_app_path) && !base::CreateDirectory(web_app_path)) { nit: no {}
6 years, 7 months ago (2014-05-23 13:27:26 UTC) #6
calamity
https://codereview.chromium.org/258243002/diff/100001/chrome/browser/web_applications/web_app_win.cc File chrome/browser/web_applications/web_app_win.cc (right): https://codereview.chromium.org/258243002/diff/100001/chrome/browser/web_applications/web_app_win.cc#newcode347 chrome/browser/web_applications/web_app_win.cc:347: if (!base::PathExists(web_app_path) && !base::CreateDirectory(web_app_path)) { On 2014/05/23 13:27:27, sky ...
6 years, 7 months ago (2014-05-26 01:54:47 UTC) #7
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-26 01:55:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/258243002/140001
6 years, 7 months ago (2014-05-26 01:56:15 UTC) #9
commit-bot: I haz the power
Change committed as 272851
6 years, 7 months ago (2014-05-26 16:34:46 UTC) #10
sergeyv
A revert of this CL has been created in https://codereview.chromium.org/298003005/ by sergeyv@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-26 19:07:53 UTC) #11
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-27 01:09:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/258243002/160001
6 years, 7 months ago (2014-05-27 01:09:38 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 05:13:14 UTC) #14
Message was sent while issue was closed.
Change committed as 272923

Powered by Google App Engine
This is Rietveld 408576698