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

Issue 1926403002: Remove BrowserDistribution::SHORTCUT_APP_LAUNCHER (Closed)

Created:
4 years, 7 months ago by tapted
Modified:
4 years, 7 months ago
CC:
chromium-reviews, tfarina, grt+watch_chromium.org, wfh+watch_chromium.org, Matt Giuca, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@20160406-Mac-EnableAppLauncher0
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove BrowserDistribution::SHORTCUT_APP_LAUNCHER Also remove the BrowserDistribution::ShortcutType enum (since there would only be a single value left). BrowserDistribution depends on strings that won't be available once enable_app_list is flipped to 0 on Windows. Since these constants are generated by create_string_rc.py (which is hard to #ifdef), and used on the single `DO_INSTALLER_STRING_MAPPING` line of chrome_browser_main_win.cc, it's hard to prepare for the flip without this first step. Remove accesses to those strings by nerfing the app list install flow on Windows and removing the icon and relaunch customizations. For now, this just makes the app launcher window show in the taskbar with a Chrome icon, and no window title. A follow-up in m52 will cause attempts to show the app launcher window instead just open a browser window at chrome://apps. BUG=600915 Committed: https://crrev.com/d7ef82ae05ed94c97a93d2ce975260ed2bc0c7f0 Cr-Commit-Position: refs/heads/master@{#393415}

Patch Set 1 #

Patch Set 2 : Purge more #

Patch Set 3 : Remove ShortcutType #

Total comments: 8

Patch Set 4 : Update comments #

Total comments: 6

Patch Set 5 : lint headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -370 lines) Patch
M chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc View 1 2 4 chunks +9 lines, -17 lines 0 comments Download
M chrome/browser/profiles/profile_shortcut_manager_win.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/shell_integration_win.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/shell_integration_win.cc View 1 2 5 chunks +2 lines, -19 lines 0 comments Download
M chrome/browser/shell_integration_win_unittest.cc View 1 3 chunks +0 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_service_win.cc View 1 2 3 4 7 chunks +1 line, -168 lines 0 comments Download
M chrome/installer/setup/install_unittest.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 1 2 3 2 chunks +6 lines, -12 lines 0 comments Download
M chrome/installer/util/browser_distribution.cc View 1 2 2 chunks +5 lines, -15 lines 0 comments Download
M chrome/installer/util/chrome_browser_operations.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/installer/util/chrome_frame_distribution.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/chrome_frame_distribution.cc View 1 2 2 chunks +3 lines, -10 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/installer/util/google_chrome_binaries_distribution.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/google_chrome_binaries_distribution.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 2 1 chunk +3 lines, -16 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_dummy.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/google_chrome_sxs_distribution.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_sxs_distribution.cc View 1 2 3 chunks +4 lines, -15 lines 0 comments Download
M chrome/installer/util/prebuild/create_string_rc.py View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/installer/util/shell_util.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 5 chunks +11 lines, -18 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 1 2 6 chunks +8 lines, -16 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (17 generated)
tapted
Hi Greg, please take a look (and, e.g., should I just delete the BrowserDistribution::ShortcutType entirely?) ...
4 years, 7 months ago (2016-04-29 05:57:49 UTC) #6
grt (UTC plus 2)
On 2016/04/29 05:57:49, tapted wrote: > Hi Greg, please take a look (and, e.g., should ...
4 years, 7 months ago (2016-04-29 14:36:26 UTC) #7
tapted
On 2016/04/29 14:36:26, grt wrote: > On 2016/04/29 05:57:49, tapted wrote: > > Hi Greg, ...
4 years, 7 months ago (2016-05-02 11:00:09 UTC) #13
grt (UTC plus 2)
Sam: do you have cycles to review this change?
4 years, 7 months ago (2016-05-03 16:44:11 UTC) #15
huangs
Sure I'll review this.
4 years, 7 months ago (2016-05-03 17:43:44 UTC) #16
huangs
Looks good, with some minor comments. Are there plans to remove the DidRun flag from ...
4 years, 7 months ago (2016-05-03 18:12:02 UTC) #17
tapted
On 2016/05/03 18:12:02, huangs wrote: > Are there plans to remove the DidRun flag from ...
4 years, 7 months ago (2016-05-04 09:50:57 UTC) #18
huangs
LGTM with comments on possibly deleting more stuff. Will look again if requested. https://codereview.chromium.org/1926403002/diff/120001/chrome/browser/shell_integration_win.cc File ...
4 years, 7 months ago (2016-05-04 15:54:08 UTC) #19
tapted
+erg for c/b/profiles/OWNERS grt: PTAL for OWNERS when you get a chance Thanks! https://codereview.chromium.org/1926403002/diff/120001/chrome/browser/shell_integration_win.cc File ...
4 years, 7 months ago (2016-05-05 07:14:18 UTC) #21
Elliot Glaysher
lgtm
4 years, 7 months ago (2016-05-05 17:11:57 UTC) #22
tapted
grt: ping for OWNERS or +gab, if you're around. Thanks!
4 years, 7 months ago (2016-05-11 12:41:24 UTC) #24
grt (UTC plus 2)
rubberstamp lgtm. apologies for the delay.
4 years, 7 months ago (2016-05-12 17:16:24 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926403002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926403002/140001
4 years, 7 months ago (2016-05-12 23:57:24 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 7 months ago (2016-05-13 01:10:33 UTC) #30
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 01:11:59 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d7ef82ae05ed94c97a93d2ce975260ed2bc0c7f0
Cr-Commit-Position: refs/heads/master@{#393415}

Powered by Google App Engine
This is Rietveld 408576698