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

Issue 160218: Fix running default browser check/setting in UI thread on Linux.... (Closed)

Created:
11 years, 5 months ago by mattm
Modified:
9 years, 7 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Fix running default browser check/setting in UI thread on Linux. Rename shell_integration.cc to shell_integration_win.cc, so shell_integration.cc can be used for cross-platform stuff. Move DefaultBrowserWorker from GeneralPageView to ShellIntegration. BUG=17179 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21794

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -284 lines) Patch
MM chrome/browser/gtk/options/general_page_gtk.h View 1 2 3 4 4 chunks +9 lines, -3 lines 0 comments Download
MM chrome/browser/gtk/options/general_page_gtk.cc View 1 2 3 4 7 chunks +22 lines, -14 lines 0 comments Download
M chrome/browser/shell_integration.h View 1 2 3 4 2 chunks +65 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration.cc View 1 2 3 4 1 chunk +57 lines, -135 lines 0 comments Download
A + chrome/browser/shell_integration_win.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/views/options/general_page_view.h View 1 2 3 4 4 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/views/options/general_page_view.cc View 1 2 3 4 6 chunks +8 lines, -121 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
mattm
11 years, 5 months ago (2009-07-28 00:19:17 UTC) #1
Evan Stade
LGTM with comments http://codereview.chromium.org/160218/diff/1019/1024 File chrome/browser/gtk/options/general_page_gtk.cc (right): http://codereview.chromium.org/160218/diff/1019/1024#newcode61 Line 61: ALLOW_THIS_IN_INITIALIZER_LIST( ALLOW_THIS_IN_INITIALIZER_LIST is windows-only http://codereview.chromium.org/160218/diff/1019/1024#newcode346 ...
11 years, 5 months ago (2009-07-28 00:40:37 UTC) #2
mattm
http://codereview.chromium.org/160218/diff/1019/1024 File chrome/browser/gtk/options/general_page_gtk.cc (right): http://codereview.chromium.org/160218/diff/1019/1024#newcode61 Line 61: ALLOW_THIS_IN_INITIALIZER_LIST( On 2009/07/28 00:40:39, Evan Stade wrote: > ...
11 years, 5 months ago (2009-07-28 01:08:13 UTC) #3
Evan Stade
11 years, 5 months ago (2009-07-28 01:11:34 UTC) #4
lgtm

http://codereview.chromium.org/160218/diff/1019/1024
File chrome/browser/gtk/options/general_page_gtk.cc (right):

http://codereview.chromium.org/160218/diff/1019/1024#newcode346
Line 346: default_browser_status_label_ = gtk_label_new(NULL);
On 2009/07/28 01:08:13, mattm wrote:
> On 2009/07/28 00:40:39, Evan Stade wrote:
> > Should probably have some text here for "Checking if browser is default..."
> and
> > the button should be insensitive. (Since the strings are frozen you can put
a
> > TODO for the first.)
> 
> StartCheckDefaultBrowser calls SetDefaultBrowserUIState(STATE_PROCESSING)
which
> does make the button insensitive, I'll add a TODO for the string

Ah I see. Thanks for explanation.

Powered by Google App Engine
This is Rietveld 408576698