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

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed)

Created:
8 years, 6 months ago by motek.
Modified:
8 years, 6 months ago
CC:
chromium-reviews, grt+watch_chromium.org, finnur+watch_chromium.org, arv (Not doing code reviews), jshin+watch_chromium.org, chrome-win8-eng_google.com
Visibility:
Public.

Description

Prototype version of the first-run dialog for Windows 8. The new UI supports both dialog and in-tab versions. Its purpose is to set Chrome as default browser when running first time and to re-launch it in Metro mode. R=grt,gab,jhawkins,sky BUG=131838 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143729

Patch Set 1 #

Patch Set 2 : Fixed non-windows compilation errors. #

Total comments: 48

Patch Set 3 : Addressed some of reviewer's remarks. #

Total comments: 20

Patch Set 4 : Addressed some more of reviewer's remarks. #

Patch Set 5 : Addressed remarks from the review. #

Total comments: 40

Patch Set 6 : Addressing reviewers' remarks. #

Patch Set 7 : An oops. #

Total comments: 18

Patch Set 8 : Adressed reviewers' remarks. Renamed files and classes. #

Patch Set 9 : Fixed up a comment. #

Total comments: 12

Patch Set 10 : Renamed *_win.* files and fixed-up css/http. #

Total comments: 4

Patch Set 11 : Fixed up borken gypi & html. #

Patch Set 12 : Gyp wrestling. #

Total comments: 8

Patch Set 13 : Renamed classes and files. Addressed other remarks. #

Total comments: 16

Patch Set 14 : Update after owners' review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+780 lines, -29 lines) Patch
M chrome/app/resources/locale_settings.grd View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/external_protocol/external_protocol_handler_unittest.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/first_run/first_run_win.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/resources/set_as_default_browser.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +156 lines, -0 lines 0 comments Download
A chrome/browser/resources/set_as_default_browser.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/resources/set_as_default_browser.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/shell_integration.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +31 lines, -12 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +18 lines, -3 lines 0 comments Download
A chrome/browser/ui/startup/default_browser_prompt_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +86 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/set_as_default_browser_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/set_as_default_browser_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +328 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
motek.
8 years, 6 months ago (2012-06-14 22:07:16 UTC) #1
gab
On 2012/06/14 22:07:16, motek. wrote: You'll likely want another reviewer for the UI stuff (unless ...
8 years, 6 months ago (2012-06-16 19:23:56 UTC) #2
gab
lgtm, but i haven't looked at chrome/browser/*, I can do a readbility review of it ...
8 years, 6 months ago (2012-06-16 19:32:51 UTC) #3
grt (UTC plus 2)
general comments: - document all new classes and functions - chromium style note: "When calling ...
8 years, 6 months ago (2012-06-18 19:19:13 UTC) #4
motek.
I have addressed all trivial remarks, but I have some doubts regarding the interface in ...
8 years, 6 months ago (2012-06-19 18:06:44 UTC) #5
grt (UTC plus 2)
more comments https://chromiumcodereview.appspot.com/10539169/diff/6001/chrome/browser/shell_integration.cc File chrome/browser/shell_integration.cc (right): https://chromiumcodereview.appspot.com/10539169/diff/6001/chrome/browser/shell_integration.cc#newcode187 chrome/browser/shell_integration.cc:187: StartCheckIsDefault(call_result); On 2012/06/19 18:06:44, motek. wrote: > ...
8 years, 6 months ago (2012-06-19 20:43:09 UTC) #6
motek.
Split windows code out (sending to trybots). Addressed the interface issue by adding another function ...
8 years, 6 months ago (2012-06-20 16:02:15 UTC) #7
Cait (Slow)
https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/resources/metroize/metroize.html File chrome/browser/resources/metroize/metroize.html (right): https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/resources/metroize/metroize.html#newcode36 chrome/browser/resources/metroize/metroize.html:36: </div> Should this be a </span>? https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/resources/metroize/metroize.js File chrome/browser/resources/metroize/metroize.js ...
8 years, 6 months ago (2012-06-20 19:10:10 UTC) #8
grt (UTC plus 2)
looking really good https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/shell_integration.h#newcode214 chrome/browser/shell_integration.h:214: virtual bool SetAsDefault(bool interactive_permitted) = 0; ...
8 years, 6 months ago (2012-06-20 19:42:12 UTC) #9
motek.
All done(I hope). https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/resources/metroize/metroize.html File chrome/browser/resources/metroize/metroize.html (right): https://chromiumcodereview.appspot.com/10539169/diff/21004/chrome/browser/resources/metroize/metroize.html#newcode36 chrome/browser/resources/metroize/metroize.html:36: </div> On 2012/06/20 19:10:11, caitkp wrote: ...
8 years, 6 months ago (2012-06-20 22:02:28 UTC) #10
motek.
jhawkins: OWNERS chrome/browser/ui/webui, chrome/browser/resources sky: OWNERS chrome/browser/ui It does seem we are now down to ...
8 years, 6 months ago (2012-06-20 22:17:04 UTC) #11
sky
https://chromiumcodereview.appspot.com/10539169/diff/33002/chrome/browser/ui/startup/default_browser_prompt_win.cc File chrome/browser/ui/startup/default_browser_prompt_win.cc (right): https://chromiumcodereview.appspot.com/10539169/diff/33002/chrome/browser/ui/startup/default_browser_prompt_win.cc#newcode51 chrome/browser/ui/startup/default_browser_prompt_win.cc:51: void CheckDefaultAndShowMetroizerCallback(Profile* profile, nit: keep SetMetroBrowserFlowLauncher definition and declaration ...
8 years, 6 months ago (2012-06-20 22:34:45 UTC) #12
Cait (Slow)
lgtm js/html/css LGTM
8 years, 6 months ago (2012-06-21 00:37:01 UTC) #13
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10539169/diff/33002/chrome/browser/external_protocol/external_protocol_handler.cc File chrome/browser/external_protocol/external_protocol_handler.cc (right): https://chromiumcodereview.appspot.com/10539169/diff/33002/chrome/browser/external_protocol/external_protocol_handler.cc#newcode1 chrome/browser/external_protocol/external_protocol_handler.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 6 months ago (2012-06-21 15:18:43 UTC) #14
motek.
All issues but one addressed as suggested. Clarification requested re: naming of a platform-specific h ...
8 years, 6 months ago (2012-06-21 18:28:10 UTC) #15
sky
https://chromiumcodereview.appspot.com/10539169/diff/33002/chrome/browser/ui/webui/metroizer_ui_win.h File chrome/browser/ui/webui/metroizer_ui_win.h (right): https://chromiumcodereview.appspot.com/10539169/diff/33002/chrome/browser/ui/webui/metroizer_ui_win.h#newcode5 chrome/browser/ui/webui/metroizer_ui_win.h:5: #ifndef CHROME_BROWSER_UI_WEBUI_METROIZER_UI_WIN_H_ On 2012/06/21 18:28:10, motek. wrote: > On ...
8 years, 6 months ago (2012-06-21 19:39:36 UTC) #16
arv (Not doing code reviews)
The CSS needs to be RTL aware. Any time you use left/right you need to ...
8 years, 6 months ago (2012-06-21 20:11:35 UTC) #17
motek.
https://chromiumcodereview.appspot.com/10539169/diff/45001/chrome/browser/resources/set_as_metro_default.css File chrome/browser/resources/set_as_metro_default.css (right): https://chromiumcodereview.appspot.com/10539169/diff/45001/chrome/browser/resources/set_as_metro_default.css#newcode77 chrome/browser/resources/set_as_metro_default.css:77: #metro-setup-overlay * .content-area { On 2012/06/21 20:11:35, arv wrote: ...
8 years, 6 months ago (2012-06-21 21:34:41 UTC) #18
arv (Not doing code reviews)
https://chromiumcodereview.appspot.com/10539169/diff/52001/chrome/browser/resources/set_as_metro_default.html File chrome/browser/resources/set_as_metro_default.html (right): https://chromiumcodereview.appspot.com/10539169/diff/52001/chrome/browser/resources/set_as_metro_default.html#newcode34 chrome/browser/resources/set_as_metro_default.html:34: i18n-content="flowNext"/> Invalid HTML. HTML does not support /> and ...
8 years, 6 months ago (2012-06-21 22:08:24 UTC) #19
motek.
https://chromiumcodereview.appspot.com/10539169/diff/52001/chrome/browser/resources/set_as_metro_default.html File chrome/browser/resources/set_as_metro_default.html (right): https://chromiumcodereview.appspot.com/10539169/diff/52001/chrome/browser/resources/set_as_metro_default.html#newcode34 chrome/browser/resources/set_as_metro_default.html:34: i18n-content="flowNext"/> On 2012/06/21 22:08:24, arv wrote: > Invalid HTML. ...
8 years, 6 months ago (2012-06-21 22:51:21 UTC) #20
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10539169/diff/59001/chrome/browser/ui/startup/default_browser_prompt_win.cc File chrome/browser/ui/startup/default_browser_prompt_win.cc (right): https://chromiumcodereview.appspot.com/10539169/diff/59001/chrome/browser/ui/startup/default_browser_prompt_win.cc#newcode79 chrome/browser/ui/startup/default_browser_prompt_win.cc:79: ShellIntegration::NOT_DEFAULT_WEB_CLIENT) && nit: indent one more space https://chromiumcodereview.appspot.com/10539169/diff/59001/chrome/browser/ui/startup/default_browser_prompt_win.cc#newcode81 chrome/browser/ui/startup/default_browser_prompt_win.cc:81: ...
8 years, 6 months ago (2012-06-21 23:12:08 UTC) #21
motek.
https://chromiumcodereview.appspot.com/10539169/diff/59001/chrome/browser/ui/startup/default_browser_prompt_win.cc File chrome/browser/ui/startup/default_browser_prompt_win.cc (right): https://chromiumcodereview.appspot.com/10539169/diff/59001/chrome/browser/ui/startup/default_browser_prompt_win.cc#newcode79 chrome/browser/ui/startup/default_browser_prompt_win.cc:79: ShellIntegration::NOT_DEFAULT_WEB_CLIENT) && On 2012/06/21 23:12:08, grt wrote: > nit: ...
8 years, 6 months ago (2012-06-22 16:42:13 UTC) #22
grt (UTC plus 2)
lgtm. thanks for your patience.
8 years, 6 months ago (2012-06-22 17:02:00 UTC) #23
sky
LGTM https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/shell_integration.h File chrome/browser/shell_integration.h (right): https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/shell_integration.h#newcode174 chrome/browser/shell_integration.h:174: virtual void OnSetAsDefaultConcluded(bool succeeded) { } { } ...
8 years, 6 months ago (2012-06-22 19:19:32 UTC) #24
James Hawkins
resources LGTM with nits. https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/resources/set_as_default_browser.css File chrome/browser/resources/set_as_default_browser.css (right): https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/resources/set_as_default_browser.css#newcode88 chrome/browser/resources/set_as_default_browser.css:88: nit: Remove blank line. https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/resources/set_as_default_browser.html ...
8 years, 6 months ago (2012-06-22 20:04:52 UTC) #25
motek.
All fixed, I believe. Thank you. https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/resources/set_as_default_browser.css File chrome/browser/resources/set_as_default_browser.css (right): https://chromiumcodereview.appspot.com/10539169/diff/42026/chrome/browser/resources/set_as_default_browser.css#newcode88 chrome/browser/resources/set_as_default_browser.css:88: On 2012/06/22 20:04:52, ...
8 years, 6 months ago (2012-06-22 20:40:18 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/10539169/66001
8 years, 6 months ago (2012-06-22 20:41:14 UTC) #27
commit-bot: I haz the power
8 years, 6 months ago (2012-06-22 22:23:40 UTC) #28
Change committed as 143729

Powered by Google App Engine
This is Rietveld 408576698