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

Issue 9225053: Add a blocking version of the sync promo dialog (Closed)

Created:
8 years, 10 months ago by sail
Modified:
8 years, 10 months ago
CC:
chromium-reviews, arv (Not doing code reviews), Ben Goodger (Google)
Visibility:
Public.

Description

Add a blocking version of the sync promo dialog This is a new version of the sync promo that is displayed inside a blocking dialog window. If a new browser window is spawned from inside the sync promo then we close the dialog box and foucs on the new window. Any remaining first run tabs are added as inactive tabs to the new browser window. Screenshots: http://imgur.com/iBspQ BUG=107219 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119827

Patch Set 1 #

Patch Set 2 : cocoa/gtk #

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : address review comments #

Total comments: 51

Patch Set 5 : address review comments #

Patch Set 6 : address review comments #

Total comments: 2

Patch Set 7 : address review comments #

Total comments: 20

Patch Set 8 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+577 lines, -69 lines) Patch
M chrome/browser/resources/sync_promo/sync_promo.css View 1 2 3 4 5 6 7 2 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/resources/sync_promo/sync_promo.js View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_init.h View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 6 5 chunks +65 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/html_dialog_window_controller.mm View 1 2 3 4 3 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/html_dialog_gtk.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/html_dialog_gtk.cc View 1 2 3 4 2 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view.h View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view.cc View 1 2 3 4 5 6 7 2 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h View 1 2 3 4 5 6 7 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc View 1 2 3 4 5 6 7 1 chunk +61 lines, -35 lines 0 comments Download
M chrome/browser/ui/webui/html_dialog_ui.h View 1 2 3 4 5 6 7 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/html_dialog_ui.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/sync_promo/sync_promo_dialog.h View 1 2 3 4 5 6 7 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/sync_promo/sync_promo_dialog.cc View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc View 2 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler2.cc View 1 2 3 4 5 2 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_trial.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_trial.cc View 1 2 3 4 6 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_ui.h View 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc View 1 chunk +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler2.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
sail
dbeam: promo stuff jhawkins: webui/* OWNERS erg: gtk/* OWNERS rsesek: cocoa/* OWNERS sky@chromium.org: browser_init and ...
8 years, 10 months ago (2012-01-30 08:04:14 UTC) #1
sky
http://codereview.chromium.org/9225053/diff/4001/chrome/browser/ui/browser_init.cc File chrome/browser/ui/browser_init.cc (right): http://codereview.chromium.org/9225053/diff/4001/chrome/browser/ui/browser_init.cc#newcode1172 chrome/browser/ui/browser_init.cc:1172: if (profile_ && !browser && process_startup && Move this ...
8 years, 10 months ago (2012-01-30 15:27:47 UTC) #2
sail
Address review comments and fixed mac and GTK builds. Please take another look. https://chromiumcodereview.appspot.com/9225053/diff/4001/chrome/browser/ui/browser_init.cc File ...
8 years, 10 months ago (2012-01-30 17:13:03 UTC) #3
sail
ben: FYI
8 years, 10 months ago (2012-01-30 17:38:55 UTC) #4
Dan Beam
Perhaps this isn't the way we do things, but it seems like there's a lot ...
8 years, 10 months ago (2012-01-30 18:10:05 UTC) #5
sky
http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/browser_init.cc File chrome/browser/ui/browser_init.cc (right): http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/browser_init.cc#newcode1154 chrome/browser/ui/browser_init.cc:1154: size_t BrowserInit::LaunchWithProfile::ShowSyncPromoDialog( Make position match that of header. http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/browser_init.cc#newcode1175 ...
8 years, 10 months ago (2012-01-30 18:13:41 UTC) #6
sail
https://chromiumcodereview.appspot.com/9225053/diff/8002/chrome/browser/ui/browser_init.cc File chrome/browser/ui/browser_init.cc (right): https://chromiumcodereview.appspot.com/9225053/diff/8002/chrome/browser/ui/browser_init.cc#newcode1154 chrome/browser/ui/browser_init.cc:1154: size_t BrowserInit::LaunchWithProfile::ShowSyncPromoDialog( On 2012/01/30 18:13:41, sky wrote: > Make ...
8 years, 10 months ago (2012-01-30 21:00:38 UTC) #7
Elliot Glaysher
I am basically fine with the gtk changes modulo Dan as long as something like ...
8 years, 10 months ago (2012-01-30 21:01:39 UTC) #8
James Hawkins
http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h File chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h (right): http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h#newcode23 chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h:23: // URL is opened in. Returns the browser spawned ...
8 years, 10 months ago (2012-01-30 21:02:14 UTC) #9
sail
addressed review comments, please take another look http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h File chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h (right): http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h#newcode23 chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h:23: // URL ...
8 years, 10 months ago (2012-01-30 21:52:36 UTC) #10
sky
LGTM http://codereview.chromium.org/9225053/diff/8006/chrome/browser/ui/browser_init.h File chrome/browser/ui/browser_init.h (right): http://codereview.chromium.org/9225053/diff/8006/chrome/browser/ui/browser_init.h#newcode251 chrome/browser/ui/browser_init.h:251: bool process_startup, out params should be last, so ...
8 years, 10 months ago (2012-01-30 23:08:14 UTC) #11
sail
http://codereview.chromium.org/9225053/diff/8006/chrome/browser/ui/browser_init.h File chrome/browser/ui/browser_init.h (right): http://codereview.chromium.org/9225053/diff/8006/chrome/browser/ui/browser_init.h#newcode251 chrome/browser/ui/browser_init.h:251: bool process_startup, On 2012/01/30 23:08:14, sky wrote: > out ...
8 years, 10 months ago (2012-01-30 23:45:53 UTC) #12
Robert Sesek
cocoa/ lgtm
8 years, 10 months ago (2012-01-31 00:07:57 UTC) #13
James Hawkins
http://codereview.chromium.org/9225053/diff/12033/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc File chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc (right): http://codereview.chromium.org/9225053/diff/12033/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc#newcode43 chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc:43: Profile* profile, Optional: Save space and put more than ...
8 years, 10 months ago (2012-01-31 00:23:22 UTC) #14
Dan Beam
lgtm with nits & jhawkins' feedback fulfilled http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h File chrome/browser/ui/webui/sync_promo/sync_promo_trial.h (right): http://codereview.chromium.org/9225053/diff/8002/chrome/browser/ui/webui/sync_promo/sync_promo_trial.h#newcode9 chrome/browser/ui/webui/sync_promo/sync_promo_trial.h:9: #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" ...
8 years, 10 months ago (2012-01-31 00:31:39 UTC) #15
sail
This CL also contains a 0.2 fade in animation on load. This was suggested by ...
8 years, 10 months ago (2012-01-31 01:03:46 UTC) #16
James Hawkins
8 years, 10 months ago (2012-01-31 01:04:48 UTC) #17
lgtm

Powered by Google App Engine
This is Rietveld 408576698