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

Issue 200025: Allow the default browser check to return "unknown" and reflect that in the UI. (Closed)

Created:
11 years, 3 months ago by Mike Mammarella
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, Ben Goodger (Google)
Visibility:
Public.

Description

Allow the default browser check to return "unknown" and reflect that in the UI. On Linux this can happen for unsupported desktop environments. On Windows and Mac OS X this probably should not occur and likely indicates some sort of serious configuration error. This change avoids repeatedly bothering the user to set the default browser in cases where we're likely to fail at that, without incorrectly displaying that we are the default browser. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25553

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -48 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.mm View 2 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/gtk/options/general_page_gtk.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/shell_integration.h View 4 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/shell_integration.cc View 1 2 chunks +19 lines, -8 lines 0 comments Download
M chrome/browser/shell_integration_linux.cc View 2 chunks +4 lines, -7 lines 2 comments Download
M chrome/browser/shell_integration_mac.mm View 2 chunks +10 lines, -7 lines 2 comments Download
M chrome/browser/shell_integration_win.cc View 5 chunks +12 lines, -8 lines 3 comments Download
M chrome/browser/views/options/general_page_view.cc View 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Mike Mammarella
11 years, 3 months ago (2009-09-04 22:32:52 UTC) #1
Evan Martin
Looks awesome, just got a question about mac. http://codereview.chromium.org/200025/diff/3001/21 File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/200025/diff/3001/21#newcode197 Line 197: ...
11 years, 3 months ago (2009-09-04 22:46:15 UTC) #2
Mike Mammarella
http://codereview.chromium.org/200025/diff/3001/21 File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/200025/diff/3001/21#newcode197 Line 197: return (reply.find("yes") == 0) ? IS_DEFAULT_BROWSER : NOT_DEFAULT_BROWSER; ...
11 years, 3 months ago (2009-09-04 22:56:27 UTC) #3
Evan Martin
LGTM, but you may want to wait for kuchhal to comment on the registry thing ...
11 years, 3 months ago (2009-09-04 23:00:35 UTC) #4
kuchhal
http://codereview.chromium.org/200025/diff/3001/23 File chrome/browser/shell_integration_win.cc (right): http://codereview.chromium.org/200025/diff/3001/23#newcode112 Line 112: return NOT_DEFAULT_BROWSER; // Or UNKNOWN_DEFAULT_BROWSER? These are keys ...
11 years, 3 months ago (2009-09-04 23:05:12 UTC) #5
pink (ping after 24hrs)
11 years, 3 months ago (2009-09-08 16:17:40 UTC) #6
mac changes lgtm (even tho this has been closed)

Powered by Google App Engine
This is Rietveld 408576698