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

Unified Diff: sky/tools/debugger/debugger.cc

Issue 762443002: Remove event targeting hack (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/tools/debugger/debugger.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/debugger/debugger.cc
diff --git a/sky/tools/debugger/debugger.cc b/sky/tools/debugger/debugger.cc
index 77cc2615ec1d627620da16ff879e72cae552c2b2..ca7d8e6273c44944ec6816e18d6a98857d7579c7 100644
--- a/sky/tools/debugger/debugger.cc
+++ b/sky/tools/debugger/debugger.cc
@@ -83,16 +83,6 @@ void SkyDebugger::OnViewBoundsChanged(mojo::View* view,
content_->SetBounds(new_bounds);
}
-void SkyDebugger::OnViewInputEvent(
- mojo::View* view, const mojo::EventPtr& event) {
- if (view != root_)
- return;
- // Currently, the event targeting system is broken for mojo::Views, so we
- // blindly forward events from the root to the content view. Once event
- // targeting works, we should be able to rip out this code.
- window_manager_app_->DispatchInputEventToView(content_, event.Clone());
-}
-
void SkyDebugger::Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<Debugger> request) {
mojo::WeakBindToRequest(this, &request);
« no previous file with comments | « sky/tools/debugger/debugger.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698