summaryrefslogtreecommitdiffstats
path: root/mojo/examples/aura_demo
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-18 08:24:42 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-18 08:24:42 +0000
commita1347688aed6d55655ec2b193158bce884dd6b22 (patch)
treef51e97b682721c6505950fc66f2183f2ce954ce7 /mojo/examples/aura_demo
parent111f14f6fd881d9e34804e5820440a2d53b804ef (diff)
downloadchromium_src-a1347688aed6d55655ec2b193158bce884dd6b22.zip
chromium_src-a1347688aed6d55655ec2b193158bce884dd6b22.tar.gz
chromium_src-a1347688aed6d55655ec2b193158bce884dd6b22.tar.bz2
Changes routing of input events in view manager
Events are now sent to the window manager (assumed to be at connection id 1 for now). The window manager can then do what it wants with them. For now I made it bounce the event back to the server so everything works as it did. Until we get FIFO across pipes I'm putting these messages on the ViewManager/ViewManagerClient interface. That'll change. BUG=384433 TEST=covered by tests R=ben@chromium.org Review URL: https://codereview.chromium.org/338353006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/aura_demo')
-rw-r--r--mojo/examples/aura_demo/aura_demo.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/mojo/examples/aura_demo/aura_demo.cc b/mojo/examples/aura_demo/aura_demo.cc
index fe3398e..b246484 100644
--- a/mojo/examples/aura_demo/aura_demo.cc
+++ b/mojo/examples/aura_demo/aura_demo.cc
@@ -187,6 +187,9 @@ class ViewManagerClientImpl
EventPtr event,
const Callback<void()>& callback) OVERRIDE {
}
+ virtual void DispatchOnViewInputEvent(uint32_t view_id,
+ EventPtr event) OVERRIDE {
+ }
AuraDemo* aura_demo_;