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

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: Fix clang compilation 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
« no previous file with comments | « chrome/installer/util/scoped_user_protocol_entry_unittest.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.h
diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h
index ccdb1d142cc548641b501619026eaa3b0df4fab9..90e0125f0090cb19c0a9976db9d2662b47856eb1 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -409,6 +409,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();
« no previous file with comments | « chrome/installer/util/scoped_user_protocol_entry_unittest.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698