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

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

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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/wm/lock_state_observer.h" 10 #include "ash/wm/lock_state_observer.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // WidgetObserver override. 101 // WidgetObserver override.
102 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 102 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE;
103 103
104 // PowerManagerClient::Observer overrides: 104 // PowerManagerClient::Observer overrides:
105 virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE; 105 virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE;
106 virtual void LidEventReceived(bool open, 106 virtual void LidEventReceived(bool open,
107 const base::TimeTicks& time) OVERRIDE; 107 const base::TimeTicks& time) OVERRIDE;
108 108
109 // Overridden from content::WebContentsObserver: 109 // Overridden from content::WebContentsObserver:
110 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 110 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
111 111
112 private: 112 private:
113 friend class test::WebUIScreenLockerTester; 113 friend class test::WebUIScreenLockerTester;
114 114
115 virtual ~WebUIScreenLocker(); 115 virtual ~WebUIScreenLocker();
116 116
117 // Ensures that user pod is focused. 117 // Ensures that user pod is focused.
118 void FocusUserPod(); 118 void FocusUserPod();
119 119
120 // The screen locker window. 120 // The screen locker window.
(...skipping 15 matching lines...) Expand all
136 base::TimeTicks lock_time_; 136 base::TimeTicks lock_time_;
137 137
138 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; 138 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 140 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
141 }; 141 };
142 142
143 } // namespace chromeos 143 } // namespace chromeos
144 144
145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_display_host_impl.cc ('k') | chrome/browser/chromeos/login/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698