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

Unified Diff: chrome/installer/util/shell_util.h

Issue 1896513002: Fix registerProtocolHandler implementation on Windows 8 and 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Round of comment #1 Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/shell_util.h
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index c169018f9ad111794e13f82d7ebcd8b1a93dc4bb..184ec6456ba1db6d085acc83b60236ec874dcb63 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -408,6 +408,19 @@ class ShellUtil {
// Windows prior to Windows 8.
static bool CanMakeChromeDefaultUnattended();
+ enum InteractiveSetDefaultMode {
+ // The intent picker is opened with the different choices available to the
+ // user.
+ INTENT_PICKER,
+ // The Windows default apps settings page is opened with the current default
+ // app focused.
+ SYSTEM_SETTINGS,
+ };
+
+ // Returns the interactive mode that should be used to set the default browser
+ // or default protocol client on Windows 8+.
+ static InteractiveSetDefaultMode GetInteractiveSetDefaultMode();
+
// Returns the DefaultState of Chrome for HTTP and HTTPS and updates the
// default browser beacons as appropriate.
static DefaultState GetChromeDefaultState();

Powered by Google App Engine
This is Rietveld 408576698