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

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

Issue 10453041: Support for interactive set-chrome-as-default in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed reviewers' remarks. Created 8 years, 7 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 85e5fbd7d0f9e8123a5e2b2157810f3ad4ede95f..d590ec6d5183113fd7efcca137d1546d926e0ab9 100644
--- a/chrome/installer/util/shell_util.h
+++ b/chrome/installer/util/shell_util.h
@@ -237,6 +237,14 @@ class ShellUtil {
const string16& chrome_exe,
bool elevate_if_not_admin);
+ // Shows to the user a system dialog where Chrome can be set as the
+ // default browser. This is intended for Windows 8 and above only.
+ // This is a blocking call.
+ //
+ // Parameters as MakeChromeDefault.
+ static bool ShowMakeChromeDefaultSystemUI(BrowserDistribution* dist,
+ const string16& chrome_exe);
+
// Make Chrome the default application for a protocol.
// chrome_exe: The chrome.exe path to register as default browser.
// protocol: The protocol to register as the default handler for.

Powered by Google App Engine
This is Rietveld 408576698