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

Issue 1896513002: Fix registerProtocolHandler implementation on Windows 8 and 10. (Closed)

Created:
4 years, 8 months ago by Patrick Monette
Modified:
4 years, 8 months ago
Reviewers:
sky, grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix registerProtocolHandler implementation on Windows 8 and 10. On Windows 8, now make sure the required registry key exist so that Chrome is always given as an option when poping the intent picker. On Windows 10, now shows the system settings to the user to set the default handler for a given protocol. Also fixed a small UI issue. BUG=562671 Committed: https://crrev.com/0c40087ad10f2a1f412d2dec25d8ff8946043644 Cr-Commit-Position: refs/heads/master@{#388609}

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Round of comment #1 #

Total comments: 7

Patch Set 3 : grt comments #

Total comments: 2

Patch Set 4 : Fix nit #

Patch Set 5 : Rebase #

Patch Set 6 : Fixed test compilation #

Patch Set 7 : Fix clang compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -60 lines) Patch
M chrome/browser/shell_integration.cc View 1 3 chunks +23 lines, -10 lines 0 comments Download
M chrome/browser/shell_integration_win.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration_win.cc View 1 2 3 4 5 chunks +31 lines, -2 lines 0 comments Download
M chrome/installer/util/scoped_user_protocol_entry.h View 1 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/installer/util/scoped_user_protocol_entry.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/scoped_user_protocol_entry_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/shell_util.h View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 4 5 6 7 chunks +80 lines, -36 lines 0 comments Download

Messages

Total messages: 36 (17 generated)
Patrick Monette
PTAL
4 years, 8 months ago (2016-04-15 18:00:13 UTC) #3
grt (UTC plus 2)
coolness https://codereview.chromium.org/1896513002/diff/20001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): https://codereview.chromium.org/1896513002/diff/20001/chrome/installer/util/shell_util.cc#newcode716 chrome/installer/util/shell_util.cc:716: bool LaunchDefaultAppsSettingsModernDialog(const wchar_t* target) { how about having ...
4 years, 8 months ago (2016-04-15 18:47:27 UTC) #4
Patrick Monette
PTAnL https://codereview.chromium.org/1896513002/diff/20001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): https://codereview.chromium.org/1896513002/diff/20001/chrome/installer/util/shell_util.cc#newcode716 chrome/installer/util/shell_util.cc:716: bool LaunchDefaultAppsSettingsModernDialog(const wchar_t* target) { On 2016/04/15 18:47:26, ...
4 years, 8 months ago (2016-04-15 21:35:42 UTC) #5
grt (UTC plus 2)
https://codereview.chromium.org/1896513002/diff/40001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/1896513002/diff/40001/chrome/browser/shell_integration_win.cc#newcode321 chrome/browser/shell_integration_win.cc:321: ScopedUserProtocolEntry scoped_user_protocol_entry_; nit: a comment here would be helpful ...
4 years, 8 months ago (2016-04-18 19:00:56 UTC) #6
grt (UTC plus 2)
https://codereview.chromium.org/1896513002/diff/40001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/1896513002/diff/40001/chrome/browser/shell_integration_win.cc#newcode321 chrome/browser/shell_integration_win.cc:321: ScopedUserProtocolEntry scoped_user_protocol_entry_; On 2016/04/18 19:00:56, grt wrote: > nit: ...
4 years, 8 months ago (2016-04-19 02:03:46 UTC) #7
Patrick Monette
sky@ PTAL. Mostly need owners approval for shell_integration.cc only. https://codereview.chromium.org/1896513002/diff/40001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/1896513002/diff/40001/chrome/browser/shell_integration_win.cc#newcode321 chrome/browser/shell_integration_win.cc:321: ...
4 years, 8 months ago (2016-04-19 14:36:13 UTC) #10
Patrick Monette
and grt@ PTanL
4 years, 8 months ago (2016-04-19 14:36:36 UTC) #11
sky
shell_integration LGTM
4 years, 8 months ago (2016-04-19 17:10:05 UTC) #12
grt (UTC plus 2)
lgtm https://codereview.chromium.org/1896513002/diff/60001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/1896513002/diff/60001/chrome/browser/shell_integration_win.cc#newcode321 chrome/browser/shell_integration_win.cc:321: // This is needed to make sure that ...
4 years, 8 months ago (2016-04-20 12:37:53 UTC) #13
Patrick Monette
Thanks! https://codereview.chromium.org/1896513002/diff/60001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/1896513002/diff/60001/chrome/browser/shell_integration_win.cc#newcode321 chrome/browser/shell_integration_win.cc:321: // This is needed to make sure that ...
4 years, 8 months ago (2016-04-20 16:08:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896513002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896513002/80001
4 years, 8 months ago (2016-04-20 16:08:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/162620) ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-20 16:11:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896513002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896513002/100001
4 years, 8 months ago (2016-04-20 17:22:07 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/9257)
4 years, 8 months ago (2016-04-20 18:25:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896513002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896513002/120001
4 years, 8 months ago (2016-04-20 18:54:57 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/9333)
4 years, 8 months ago (2016-04-20 20:06:02 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896513002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896513002/140001
4 years, 8 months ago (2016-04-20 20:21:23 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 8 months ago (2016-04-21 00:05:29 UTC) #34
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:27:58 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0c40087ad10f2a1f412d2dec25d8ff8946043644
Cr-Commit-Position: refs/heads/master@{#388609}

Powered by Google App Engine
This is Rietveld 408576698