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

Unified Diff: chrome/browser/chromeos/login/base_login_display_host.cc

Issue 9181012: Don't activate a window if screen is locked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/base_login_display_host.cc
diff --git a/chrome/browser/chromeos/login/base_login_display_host.cc b/chrome/browser/chromeos/login/base_login_display_host.cc
index cd3d9e87b6f49e2d22eef19c3eae0e5f166fc18a..9ccea7cd49b017b580e50c3eeca52675604e2574 100644
--- a/chrome/browser/chromeos/login/base_login_display_host.cc
+++ b/chrome/browser/chromeos/login/base_login_display_host.cc
@@ -197,6 +197,12 @@ void BaseLoginDisplayHost::OnSessionStart() {
#endif
}
+void BaseLoginDisplayHost::PreSessionStart() {
+#if defined(USE_AURA)
+ GetWidget()->GetNativeView()->set_stops_event_propagation(false);
sky 2012/01/12 01:05:14 Add a comment as to why this is needed.
+#endif
+}
+
void BaseLoginDisplayHost::StartWizard(
const std::string& first_screen_name,
DictionaryValue* screen_parameters) {

Powered by Google App Engine
This is Rietveld 408576698