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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 385993004: Clean up Chrome OS WARNING spam (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 else 416 else
417 auto_enrollment_progress_subscription_.reset(); 417 auto_enrollment_progress_subscription_.reset();
418 } 418 }
419 419
420 void SigninScreenHandler::SetNativeWindowDelegate( 420 void SigninScreenHandler::SetNativeWindowDelegate(
421 NativeWindowDelegate* native_window_delegate) { 421 NativeWindowDelegate* native_window_delegate) {
422 native_window_delegate_ = native_window_delegate; 422 native_window_delegate_ = native_window_delegate;
423 } 423 }
424 424
425 void SigninScreenHandler::OnNetworkReady() { 425 void SigninScreenHandler::OnNetworkReady() {
426 LOG(WARNING) << "OnNetworkReady() call."; 426 VLOG(1) << "OnNetworkReady() call.";
427 DCHECK(gaia_screen_handler_); 427 DCHECK(gaia_screen_handler_);
428 gaia_screen_handler_->MaybePreloadAuthExtension(); 428 gaia_screen_handler_->MaybePreloadAuthExtension();
429 } 429 }
430 430
431 void SigninScreenHandler::UpdateState(ErrorScreenActor::ErrorReason reason) { 431 void SigninScreenHandler::UpdateState(ErrorScreenActor::ErrorReason reason) {
432 UpdateStateInternal(reason, false); 432 UpdateStateInternal(reason, false);
433 } 433 }
434 434
435 // SigninScreenHandler, private: ----------------------------------------------- 435 // SigninScreenHandler, private: -----------------------------------------------
436 436
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 void SigninScreenHandler::HandleCreateAccount() { 1158 void SigninScreenHandler::HandleCreateAccount() {
1159 if (delegate_) 1159 if (delegate_)
1160 delegate_->CreateAccount(); 1160 delegate_->CreateAccount();
1161 } 1161 }
1162 1162
1163 void SigninScreenHandler::HandleOpenProxySettings() { 1163 void SigninScreenHandler::HandleOpenProxySettings() {
1164 LoginDisplayHostImpl::default_host()->OpenProxySettings(); 1164 LoginDisplayHostImpl::default_host()->OpenProxySettings();
1165 } 1165 }
1166 1166
1167 void SigninScreenHandler::HandleLoginVisible(const std::string& source) { 1167 void SigninScreenHandler::HandleLoginVisible(const std::string& source) {
1168 LOG(WARNING) << "Login WebUI >> loginVisible, src: " << source << ", " 1168 VLOG(1) << "Login WebUI >> loginVisible, src: " << source << ", "
1169 << "webui_visible_: " << webui_visible_; 1169 << "webui_visible_: " << webui_visible_;
1170 if (!webui_visible_) { 1170 if (!webui_visible_) {
1171 // There might be multiple messages from OOBE UI so send notifications after 1171 // There might be multiple messages from OOBE UI so send notifications after
1172 // the first one only. 1172 // the first one only.
1173 content::NotificationService::current()->Notify( 1173 content::NotificationService::current()->Notify(
1174 chrome::NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE, 1174 chrome::NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE,
1175 content::NotificationService::AllSources(), 1175 content::NotificationService::AllSources(),
1176 content::NotificationService::NoDetails()); 1176 content::NotificationService::NoDetails());
1177 TRACE_EVENT_ASYNC_END0( 1177 TRACE_EVENT_ASYNC_END0(
1178 "ui", "ShowLoginWebUI", LoginDisplayHostImpl::kShowLoginWebUIid); 1178 "ui", "ShowLoginWebUI", LoginDisplayHostImpl::kShowLoginWebUIid);
1179 } 1179 }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 return gaia_screen_handler_->frame_error(); 1387 return gaia_screen_handler_->frame_error();
1388 } 1388 }
1389 1389
1390 void SigninScreenHandler::OnCapsLockChanged(bool enabled) { 1390 void SigninScreenHandler::OnCapsLockChanged(bool enabled) {
1391 caps_lock_enabled_ = enabled; 1391 caps_lock_enabled_ = enabled;
1392 if (page_is_ready()) 1392 if (page_is_ready())
1393 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_); 1393 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_);
1394 } 1394 }
1395 1395
1396 } // namespace chromeos 1396 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698