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

Unified Diff: ui/aura/window.cc

Issue 8120014: Add a lock screen example. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/window.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
===================================================================
--- ui/aura/window.cc (revision 103882)
+++ ui/aura/window.cc (working copy)
@@ -27,7 +27,8 @@
visible_(false),
parent_(NULL),
id_(-1),
- user_data_(NULL) {
+ user_data_(NULL),
+ consumes_events_(false) {
}
Window::~Window() {
@@ -214,6 +215,8 @@
if (handler && handler->delegate())
return handler;
}
+ if (child->consumes_events_ && !child->children().empty())
+ return NULL;
}
return delegate_ ? this : NULL;
}
« no previous file with comments | « ui/aura/window.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698