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

Issue 10696093: Hide the main window when Set-As-Default dialog is present. (Closed)

Created:
8 years, 5 months ago by motek.
Modified:
8 years, 4 months ago
CC:
chromium-reviews, grt (UTC plus 2)
Visibility:
Public.

Description

Hide the main window when Set-As-Default dialog is present. This affect startup sequences only. BUG=134430 TEST=The dialog on win8 should appear without the main window. If the user chooses not to make Chrome default, it should continue to desktop Chrome. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150936

Patch Set 1 #

Patch Set 2 : Fixed up after rebase-to-master. #

Patch Set 3 : Post-rebase contd. #

Patch Set 4 : Fixed a crash planted in the previous patch. #

Total comments: 8

Patch Set 5 : Moved close/reshow code to the dialog delegate. #

Total comments: 6

Patch Set 6 : Addressed review remarks. #

Total comments: 12

Patch Set 7 : Addressed owner's remarks. #

Total comments: 6

Patch Set 8 : Addressed owner's remarks (2). #

Patch Set 9 : An oops (a missing space). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -46 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt_win.cc View 1 2 3 4 1 chunk +12 lines, -7 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.h View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 4 1 chunk +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/set_as_default_browser_ui.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/set_as_default_browser_ui.cc View 1 2 3 4 5 6 7 8 15 chunks +75 lines, -26 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
motek.
Hi, I would appreciate if you could review this one. M.
8 years, 5 months ago (2012-07-05 17:41:30 UTC) #1
grt (UTC plus 2)
i'm not fit to review set_as_default_browser_ui.cc. otherwise, see comments below. https://chromiumcodereview.appspot.com/10696093/diff/4003/chrome/browser/ui/startup/default_browser_prompt_win.cc File chrome/browser/ui/startup/default_browser_prompt_win.cc (right): https://chromiumcodereview.appspot.com/10696093/diff/4003/chrome/browser/ui/startup/default_browser_prompt_win.cc#newcode89 ...
8 years, 5 months ago (2012-07-05 20:08:47 UTC) #2
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/10696093/diff/4003/chrome/browser/ui/webui/set_as_default_browser_ui.cc File chrome/browser/ui/webui/set_as_default_browser_ui.cc (right): http://codereview.chromium.org/10696093/diff/4003/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode181 chrome/browser/ui/webui/set_as_default_browser_ui.cc:181: it != BrowserList::end(); ++it) { iterating over the browsers... ...
8 years, 5 months ago (2012-07-06 23:30:47 UTC) #3
jam
apologies for the delay, this slipped under my radar http://codereview.chromium.org/10696093/diff/4003/chrome/browser/ui/webui/set_as_default_browser_ui.cc File chrome/browser/ui/webui/set_as_default_browser_ui.cc (right): http://codereview.chromium.org/10696093/diff/4003/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode181 chrome/browser/ui/webui/set_as_default_browser_ui.cc:181: ...
8 years, 5 months ago (2012-07-12 18:38:40 UTC) #4
motek.
Addressed comment. Since grt@ is vacationing, moved him to CC and added robertshield@ instead. https://chromiumcodereview.appspot.com/10696093/diff/4003/chrome/browser/ui/startup/default_browser_prompt_win.cc ...
8 years, 4 months ago (2012-08-08 14:28:35 UTC) #5
robertshield
looking good, couple of nits/questions https://chromiumcodereview.appspot.com/10696093/diff/13001/chrome/browser/ui/webui/set_as_default_browser_ui.cc File chrome/browser/ui/webui/set_as_default_browser_ui.cc (right): https://chromiumcodereview.appspot.com/10696093/diff/13001/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode209 chrome/browser/ui/webui/set_as_default_browser_ui.cc:209: ResponseDelegate { nit: indent, ...
8 years, 4 months ago (2012-08-08 18:09:38 UTC) #6
motek.
https://chromiumcodereview.appspot.com/10696093/diff/13001/chrome/browser/ui/webui/set_as_default_browser_ui.cc File chrome/browser/ui/webui/set_as_default_browser_ui.cc (right): https://chromiumcodereview.appspot.com/10696093/diff/13001/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode209 chrome/browser/ui/webui/set_as_default_browser_ui.cc:209: ResponseDelegate { On 2012/08/08 18:09:38, robertshield wrote: > nit: ...
8 years, 4 months ago (2012-08-08 19:55:36 UTC) #7
robertshield
lgtm
8 years, 4 months ago (2012-08-08 20:12:19 UTC) #8
sky
https://chromiumcodereview.appspot.com/10696093/diff/17002/chrome/browser/ui/startup/startup_browser_creator.h File chrome/browser/ui/startup/startup_browser_creator.h (right): https://chromiumcodereview.appspot.com/10696093/diff/17002/chrome/browser/ui/startup/startup_browser_creator.h#newcode98 chrome/browser/ui/startup/startup_browser_creator.h:98: bool show_main_browser_window() { const https://chromiumcodereview.appspot.com/10696093/diff/17002/chrome/browser/ui/startup/startup_browser_creator_impl.cc File chrome/browser/ui/startup/startup_browser_creator_impl.cc (right): https://chromiumcodereview.appspot.com/10696093/diff/17002/chrome/browser/ui/startup/startup_browser_creator_impl.cc#newcode788 ...
8 years, 4 months ago (2012-08-08 21:24:13 UTC) #9
motek.
https://chromiumcodereview.appspot.com/10696093/diff/17002/chrome/browser/ui/startup/startup_browser_creator.h File chrome/browser/ui/startup/startup_browser_creator.h (right): https://chromiumcodereview.appspot.com/10696093/diff/17002/chrome/browser/ui/startup/startup_browser_creator.h#newcode98 chrome/browser/ui/startup/startup_browser_creator.h:98: bool show_main_browser_window() { On 2012/08/08 21:24:13, sky wrote: > ...
8 years, 4 months ago (2012-08-09 14:26:56 UTC) #10
sky
https://chromiumcodereview.appspot.com/10696093/diff/18002/chrome/browser/ui/webui/set_as_default_browser_ui.cc File chrome/browser/ui/webui/set_as_default_browser_ui.cc (right): https://chromiumcodereview.appspot.com/10696093/diff/18002/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode69 chrome/browser/ui/webui/set_as_default_browser_ui.cc:69: }; Add a protected virtual destructor. https://chromiumcodereview.appspot.com/10696093/diff/18002/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode311 chrome/browser/ui/webui/set_as_default_browser_ui.cc:311: BrowserWindow* ...
8 years, 4 months ago (2012-08-09 16:13:47 UTC) #11
motek.
https://chromiumcodereview.appspot.com/10696093/diff/18002/chrome/browser/ui/webui/set_as_default_browser_ui.cc File chrome/browser/ui/webui/set_as_default_browser_ui.cc (right): https://chromiumcodereview.appspot.com/10696093/diff/18002/chrome/browser/ui/webui/set_as_default_browser_ui.cc#newcode69 chrome/browser/ui/webui/set_as_default_browser_ui.cc:69: }; On 2012/08/09 16:13:47, sky wrote: > Add a ...
8 years, 4 months ago (2012-08-09 17:17:48 UTC) #12
sky
Leave it the way it is: LGTM
8 years, 4 months ago (2012-08-09 19:37:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/10696093/25002
8 years, 4 months ago (2012-08-09 20:17:07 UTC) #14
commit-bot: I haz the power
Try job failure for 10696093-25002 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 4 months ago (2012-08-09 21:38:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/10696093/25002
8 years, 4 months ago (2012-08-09 21:41:42 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 23:14:01 UTC) #17
Change committed as 150936

Powered by Google App Engine
This is Rietveld 408576698