Chromium Code Reviews| Index: mojo/examples/pepper_container_app/pepper_container_app.cc |
| diff --git a/mojo/examples/pepper_container_app/pepper_container_app.cc b/mojo/examples/pepper_container_app/pepper_container_app.cc |
| index ec45a45c96b6ba9ad4aa0d409d501df740481966..992ffdc6123dd538d9f20a6f6452031b3f07426d 100644 |
| --- a/mojo/examples/pepper_container_app/pepper_container_app.cc |
| +++ b/mojo/examples/pepper_container_app/pepper_container_app.cc |
| @@ -90,7 +90,8 @@ class PepperContainerApp: public Application, |
| plugin_instance_->DidChangeView(bounds); |
| } |
| - virtual void OnEvent(const Event& event) OVERRIDE { |
| + virtual void OnEvent(const Event& event, |
| + const mojo::Callback<void()>& callback) OVERRIDE { |
| if (event.location().is_null()) |
|
darin (slow to review)
2014/03/31 03:24:05
it might be good to leave a comment here checking
|
| return; |
| @@ -99,7 +100,7 @@ class PepperContainerApp: public Application, |
| // TODO(yzshen): Handle events. |
| } |
| - viewport_->AckEvent(event); |
| + callback.Run(); |
| } |
| // MojoPpapiGlobals::Delegate implementation. |