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

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

Issue 1928023002: Remove WebContentsDelegate::SwappedOut (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 event.type == blink::WebGestureEvent::GesturePinchUpdate || 455 event.type == blink::WebGestureEvent::GesturePinchUpdate ||
456 event.type == blink::WebGestureEvent::GesturePinchEnd; 456 event.type == blink::WebGestureEvent::GesturePinchEnd;
457 } 457 }
458 458
459 void WebUILoginView::LoadProgressChanged(content::WebContents* source, 459 void WebUILoginView::LoadProgressChanged(content::WebContents* source,
460 double progress) { 460 double progress) {
461 // TODO(jdufault): Remove once crbug.com/452599 is resolved. 461 // TODO(jdufault): Remove once crbug.com/452599 is resolved.
462 VLOG(1) << "WebUILoginView loading progress updated to " << progress; 462 VLOG(1) << "WebUILoginView loading progress updated to " << progress;
463 } 463 }
464 464
465 void WebUILoginView::SwappedOut(content::WebContents* source) {
466 VLOG(1) << "WebUILoginView got swapped out";
467 }
468
469 void WebUILoginView::BeforeUnloadFired(content::WebContents* tab, 465 void WebUILoginView::BeforeUnloadFired(content::WebContents* tab,
470 bool proceed, 466 bool proceed,
471 bool* proceed_to_fire_unload) { 467 bool* proceed_to_fire_unload) {
472 VLOG(1) << "WebUILoginView is unloading"; 468 VLOG(1) << "WebUILoginView is unloading";
473 *proceed_to_fire_unload = true; 469 *proceed_to_fire_unload = true;
474 } 470 }
475 471
476 void WebUILoginView::RendererUnresponsive(content::WebContents* source) { 472 void WebUILoginView::RendererUnresponsive(content::WebContents* source) {
477 VLOG(1) << "WebUILoginView renderer became unresponsive"; 473 VLOG(1) << "WebUILoginView renderer became unresponsive";
478 } 474 }
(...skipping 17 matching lines...) Expand all
496 if (should_emit_login_prompt_visible_) { 492 if (should_emit_login_prompt_visible_) {
497 VLOG(1) << "Login WebUI >> login-prompt-visible"; 493 VLOG(1) << "Login WebUI >> login-prompt-visible";
498 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> 494 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()->
499 EmitLoginPromptVisible(); 495 EmitLoginPromptVisible();
500 } 496 }
501 497
502 webui_visible_ = true; 498 webui_visible_ = true;
503 } 499 }
504 500
505 } // namespace chromeos 501 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.h ('k') | content/browser/frame_host/render_frame_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698