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

Issue 8043024: [cros,webui] Captive portal on login screen proper handling. (Closed)

Created:
9 years, 2 months ago by altimofeev
Modified:
9 years, 2 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, arv (Not doing code reviews), rharrison
Visibility:
Public.

Description

[cros,webui] Captive portal on login screen proper handling. Changed login screen to observe network changes directly, instead of 'navigator.onLine' usage. This CL also fixed the problem captive portal wasn't being hide, when good connection had appeared. BUG=chromium-os:18744 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102938

Patch Set 1 #

Patch Set 2 : nits #

Patch Set 3 : nits2 #

Total comments: 2

Patch Set 4 : codereview #

Patch Set 5 : reuse updateStatus #

Patch Set 6 : nits #

Patch Set 7 : nits #

Patch Set 8 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -48 lines) Patch
M chrome/browser/resources/chromeos/login/header_bar.js View 1 2 chunks +17 lines, -6 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_offline_message.js View 1 2 3 4 5 6 7 4 chunks +27 lines, -42 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 7 7 chunks +131 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
altimofeev
9 years, 2 months ago (2011-09-26 13:07:18 UTC) #1
xiyuan
LGTM http://codereview.chromium.org/8043024/diff/3001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (right): http://codereview.chromium.org/8043024/diff/3001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc#newcode560 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc:560: network_state_informer_.reset(new NetworkStateInformer(web_ui_)); nit: This should not happen since ...
9 years, 2 months ago (2011-09-26 17:06:13 UTC) #2
altimofeev
Thanks for the comment! http://codereview.chromium.org/8043024/diff/3001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc (right): http://codereview.chromium.org/8043024/diff/3001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc#newcode560 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc:560: network_state_informer_.reset(new NetworkStateInformer(web_ui_)); On 2011/09/26 17:06:14, ...
9 years, 2 months ago (2011-09-26 18:11:41 UTC) #3
xiyuan
still LGTM. On 2011/09/26 18:11:41, altimofeev wrote: > Thanks for the comment! > > http://codereview.chromium.org/8043024/diff/3001/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ...
9 years, 2 months ago (2011-09-26 18:17:13 UTC) #4
xiyuan
With this change, could we simplify OfflineMessageScreen.onFrameError to just call update()?
9 years, 2 months ago (2011-09-26 21:24:38 UTC) #5
altimofeev
9 years, 2 months ago (2011-09-27 13:36:16 UTC) #6
On 2011/09/26 21:24:38, xiyuan wrote:
> With this change, could we simplify OfflineMessageScreen.onFrameError to just
> call update()?

Done.

Powered by Google App Engine
This is Rietveld 408576698