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

Unified Diff: services/view_manager/connection_manager.cc

Issue 909913004: Changes event-root to deliver-events-to-parent (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove extraneous changes Created 5 years, 10 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 | « no previous file | services/window_manager/view_targeter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/connection_manager.cc
diff --git a/services/view_manager/connection_manager.cc b/services/view_manager/connection_manager.cc
index d8388a441bfef4ab3d52f4a6a7a055051fbc6ede..ce2bb9cf45c81318d69091c60418f33111aa7c85 100644
--- a/services/view_manager/connection_manager.cc
+++ b/services/view_manager/connection_manager.cc
@@ -449,11 +449,6 @@ void ConnectionManager::DispatchInputEventToView(mojo::Id transport_view_id,
const ViewId view_id(ViewIdFromTransportId(transport_view_id));
ViewManagerServiceImpl* connection = GetConnectionWithRoot(view_id);
- // We only allow the connection that created a view to set properties on it.
- // If the connection set 'event-root', then the connection wants the event and
- // not any views that are embedded in it.
- if (connection && GetView(view_id)->properties().count("event-root") > 0)
- connection = nullptr;
if (!connection)
connection = GetConnection(view_id.connection_id);
if (connection) {
« no previous file with comments | « no previous file | services/window_manager/view_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698