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

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

Issue 2070053003: Remove logging added for debugging the lockscreen crashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Remove unneeded information Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/login/ui/webui_login_view.h" 5 #include "chrome/browser/chromeos/login/ui/webui_login_view.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/tray/system_tray.h" 8 #include "ash/system/tray/system_tray.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 506
507 bool WebUILoginView::PreHandleGestureEvent( 507 bool WebUILoginView::PreHandleGestureEvent(
508 content::WebContents* source, 508 content::WebContents* source,
509 const blink::WebGestureEvent& event) { 509 const blink::WebGestureEvent& event) {
510 // Disable pinch zooming. 510 // Disable pinch zooming.
511 return event.type == blink::WebGestureEvent::GesturePinchBegin || 511 return event.type == blink::WebGestureEvent::GesturePinchBegin ||
512 event.type == blink::WebGestureEvent::GesturePinchUpdate || 512 event.type == blink::WebGestureEvent::GesturePinchUpdate ||
513 event.type == blink::WebGestureEvent::GesturePinchEnd; 513 event.type == blink::WebGestureEvent::GesturePinchEnd;
514 } 514 }
515 515
516 void WebUILoginView::LoadProgressChanged(content::WebContents* source,
517 double progress) {
518 // TODO(jdufault): Remove once crbug.com/452599 is resolved.
519 VLOG(1) << "WebUILoginView loading progress updated to " << progress;
520 }
521
522 void WebUILoginView::BeforeUnloadFired(content::WebContents* tab,
523 bool proceed,
524 bool* proceed_to_fire_unload) {
525 VLOG(1) << "WebUILoginView is unloading";
526 *proceed_to_fire_unload = true;
527 }
528
529 void WebUILoginView::RendererUnresponsive(content::WebContents* source) {
530 VLOG(1) << "WebUILoginView renderer became unresponsive";
531 }
532
533 void WebUILoginView::RendererResponsive(content::WebContents* source) {
534 VLOG(1) << "WebUILoginView renderer became responsive";
535 }
536
537 void WebUILoginView::DidNavigateMainFramePostCommit(
538 content::WebContents* source) {
539 VLOG(1) << "WebUILoginView navigated";
540 }
541
542 void WebUILoginView::OnLoginPromptVisible() { 516 void WebUILoginView::OnLoginPromptVisible() {
543 // If we're hidden than will generate this signal once we're shown. 517 // If we're hidden than will generate this signal once we're shown.
544 if (is_hidden_ || webui_visible_) { 518 if (is_hidden_ || webui_visible_) {
545 VLOG(1) << "Login WebUI >> not emitting signal, hidden: " << is_hidden_; 519 VLOG(1) << "Login WebUI >> not emitting signal, hidden: " << is_hidden_;
546 return; 520 return;
547 } 521 }
548 TRACE_EVENT0("chromeos", "WebUILoginView::OnLoginPromoptVisible"); 522 TRACE_EVENT0("chromeos", "WebUILoginView::OnLoginPromoptVisible");
549 if (should_emit_login_prompt_visible_) { 523 if (should_emit_login_prompt_visible_) {
550 VLOG(1) << "Login WebUI >> login-prompt-visible"; 524 VLOG(1) << "Login WebUI >> login-prompt-visible";
551 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> 525 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()->
552 EmitLoginPromptVisible(); 526 EmitLoginPromptVisible();
553 } 527 }
554 528
555 webui_visible_ = true; 529 webui_visible_ = true;
556 } 530 }
557 531
558 } // namespace chromeos 532 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.h ('k') | chrome/browser/chromeos/power/power_button_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698