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); |
}; |