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

Unified Diff: sky/engine/core/view/EventCallback.idl

Issue 1129333005: Plumb input events into SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: sky/engine/core/view/EventCallback.idl
diff --git a/sky/engine/core/painting/PaintingContext.idl b/sky/engine/core/view/EventCallback.idl
similarity index 70%
copy from sky/engine/core/painting/PaintingContext.idl
copy to sky/engine/core/view/EventCallback.idl
index 3f87cb8e80ecbdb38e3fb51f6b8c54c15281a276..284ae8a70f16d3bc7b613661bf7c88e4eed00534 100644
--- a/sky/engine/core/painting/PaintingContext.idl
+++ b/sky/engine/core/view/EventCallback.idl
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-interface PaintingContext : Canvas {
- void commit();
+callback interface EventCallback {
+ boolean handleEvent(Event event);
};

Powered by Google App Engine
This is Rietveld 408576698