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

Issue 7111033: Ties up OOBE controllers and WebUI handlers. (Closed)

Created:
9 years, 6 months ago by altimofeev
Modified:
9 years, 6 months ago
CC:
chromium-reviews, rharrison, davemoore+watch_chromium.org, nkostylev+cc_chromium.org
Visibility:
Public.

Description

Ties up OOBE controllers and WebUI handlers. OobeDisplay ownership was moved out of WizardController. In case of WebUI, WebUI implements OobeDisplay. In case of views, OobeDisplay is owned by the LoginDisplayHost. Also new flag was added to activate WebUI for OOBE. BUG=chromium-os:15923 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88517

Patch Set 1 #

Patch Set 2 : nits #

Total comments: 6

Patch Set 3 : only one login window #

Total comments: 4

Patch Set 4 : fixed browser_tests #

Total comments: 4

Patch Set 5 : code review #

Patch Set 6 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -53 lines) Patch
M chrome/browser/chromeos/login/base_login_display_host.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/base_login_display_host.cc View 1 2 3 4 3 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/enterprise_enrollment_screen_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/touch_login_view.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/touch_login_view.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/view_screen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/views_login_display_host.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.cc View 1 2 3 4 5 3 chunks +1 line, -28 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display_host.h View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display_host.cc View 1 2 3 4 5 2 chunks +61 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_view.h View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_view.cc View 1 2 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller_browsertest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
altimofeev
9 years, 6 months ago (2011-06-06 14:32:25 UTC) #1
Nikita (slow)
As discussed, please make sure that only one WebUI host window is created for OOBE ...
9 years, 6 months ago (2011-06-07 09:29:52 UTC) #2
altimofeev
Login window was moved to the WebUILoginDisplyaHost. Please take another look. http://codereview.chromium.org/7111033/diff/15/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): ...
9 years, 6 months ago (2011-06-07 14:54:52 UTC) #3
Nikita (slow)
LGTM if it doesn't break current WebUI login page. http://codereview.chromium.org/7111033/diff/15/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/7111033/diff/15/chrome/common/chrome_switches.cc#newcode44 chrome/common/chrome_switches.cc:44: ...
9 years, 6 months ago (2011-06-07 16:18:06 UTC) #4
Nikita (slow)
http://codereview.chromium.org/7111033/diff/9001/chrome/browser/chromeos/login/webui_login_display_host.h File chrome/browser/chromeos/login/webui_login_display_host.h (right): http://codereview.chromium.org/7111033/diff/9001/chrome/browser/chromeos/login/webui_login_display_host.h#newcode38 chrome/browser/chromeos/login/webui_login_display_host.h:38: virtual void StartWizard(const std::string& first_screen_name, OVERRIDE for both? http://codereview.chromium.org/7111033/diff/9001/chrome/browser/chromeos/login/webui_login_display_host.h#newcode43 ...
9 years, 6 months ago (2011-06-07 16:34:33 UTC) #5
rharrison
LGTM, with following requirements: - Please run through linux_touch trybot, since this isn't run on ...
9 years, 6 months ago (2011-06-07 18:12:16 UTC) #6
altimofeev
9 years, 6 months ago (2011-06-09 09:59:43 UTC) #7
Also run it on device and run touch version on linux. Committing...

http://codereview.chromium.org/7111033/diff/9001/chrome/browser/chromeos/logi...
File chrome/browser/chromeos/login/webui_login_display_host.h (right):

http://codereview.chromium.org/7111033/diff/9001/chrome/browser/chromeos/logi...
chrome/browser/chromeos/login/webui_login_display_host.h:38: virtual void
StartWizard(const std::string& first_screen_name,
On 2011/06/07 16:34:33, Nikita Kostylev wrote:
> OVERRIDE for both?

Done.

http://codereview.chromium.org/7111033/diff/9001/chrome/browser/chromeos/logi...
chrome/browser/chromeos/login/webui_login_display_host.h:43: virtual
WizardController* CreateWizardController();
On 2011/06/07 16:34:33, Nikita Kostylev wrote:
> OVERRIDE?

Done.

Powered by Google App Engine
This is Rietveld 408576698