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

Unified Diff: ui/aura/root_window.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
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index ab3c0f13a5fbe5d433906dab11bcf0e55a07fd61..bc3b16b150617d3c5b53a20451adf0f639b83a7f 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -451,6 +451,10 @@ bool RootWindow::CanFocus() const {
return IsVisible();
}
+bool RootWindow::CanReceiveEvents() const {
+ return IsVisible();
+}
+
internal::FocusManager* RootWindow::GetFocusManager() {
return this;
}
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698