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

Side by Side Diff: chrome/browser/chromeos/login/webui_screen_locker.cc

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/webui_screen_locker.h" 5 #include "chrome/browser/chromeos/login/webui_screen_locker.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/wm/lock_state_controller.h" 8 #include "ash/wm/lock_state_controller.h"
9 #include "ash/wm/lock_state_observer.h" 9 #include "ash/wm/lock_state_observer.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr())); 312 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr()));
313 } 313 }
314 314
315 void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) { 315 void WebUIScreenLocker::SystemResumed(const base::TimeDelta& sleep_duration) {
316 content::BrowserThread::PostTask( 316 content::BrowserThread::PostTask(
317 content::BrowserThread::UI, 317 content::BrowserThread::UI,
318 FROM_HERE, 318 FROM_HERE,
319 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr())); 319 base::Bind(&WebUIScreenLocker::FocusUserPod, weak_factory_.GetWeakPtr()));
320 } 320 }
321 321
322 void WebUIScreenLocker::RenderViewGone(base::TerminationStatus status) { 322 void WebUIScreenLocker::RenderProcessGone(base::TerminationStatus status) {
323 if (browser_shutdown::GetShutdownType() == browser_shutdown::NOT_VALID && 323 if (browser_shutdown::GetShutdownType() == browser_shutdown::NOT_VALID &&
324 status != base::TERMINATION_STATUS_NORMAL_TERMINATION) { 324 status != base::TERMINATION_STATUS_NORMAL_TERMINATION) {
325 LOG(ERROR) << "Renderer crash on lock screen"; 325 LOG(ERROR) << "Renderer crash on lock screen";
326 Signout(); 326 Signout();
327 } 327 }
328 } 328 }
329 329
330 } // namespace chromeos 330 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_screen_locker.h ('k') | chrome/browser/chromeos/ui/app_launch_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698