summaryrefslogtreecommitdiffstats
path: root/chrome/browser/platform_util_common_linux.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 22:58:58 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 22:58:58 +0000
commitb11953f046bbe1637041981df4a434cb96b8df30 (patch)
tree765d8337bb16b4f023006c1b2f88edb1097671db /chrome/browser/platform_util_common_linux.cc
parent7be87f35e7b4ebbb92c298f998008be6ac33ecc2 (diff)
downloadchromium_src-b11953f046bbe1637041981df4a434cb96b8df30.zip
chromium_src-b11953f046bbe1637041981df4a434cb96b8df30.tar.gz
chromium_src-b11953f046bbe1637041981df4a434cb96b8df30.tar.bz2
Mac Canary: Don't offer to set as the default browser.
This includes some light refactoring to give all platforms a platform_util::CanSetAsDefaultBrowser() function. The .xib change links the set-as-default button with the new IBOutlet. BUG=79814 TEST=Canary.app should never offer to set as the default browser in the first run dialog or in an infobar. Review URL: http://codereview.chromium.org/6881058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_common_linux.cc')
-rw-r--r--chrome/browser/platform_util_common_linux.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/platform_util_common_linux.cc b/chrome/browser/platform_util_common_linux.cc
index feb1568..195dc66 100644
--- a/chrome/browser/platform_util_common_linux.cc
+++ b/chrome/browser/platform_util_common_linux.cc
@@ -134,4 +134,8 @@ std::string GetVersionStringModifier() {
return modifier;
}
+bool CanSetAsDefaultBrowser() {
+ return true;
+}
+
} // namespace platform_util