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

Unified Diff: examples/surfaces_app/surfaces_app.cc

Issue 685013002: Refactors event dispatching of NativeViewport into its own interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 2 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
« no previous file with comments | « examples/sample_app/sample_app.cc ('k') | mojo/services/native_viewport/native_viewport_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/surfaces_app/surfaces_app.cc
diff --git a/examples/surfaces_app/surfaces_app.cc b/examples/surfaces_app/surfaces_app.cc
index 1dd8bc2d6cde71dd2f9c31256fa58ee43d8f5c49..4331654f4c9218afa679c92ab055de196bcaf920 100644
--- a/examples/surfaces_app/surfaces_app.cc
+++ b/examples/surfaces_app/surfaces_app.cc
@@ -105,10 +105,6 @@ class SurfacesApp : public ApplicationDelegate,
// NativeViewportClient implementation.
virtual void OnSizeChanged(mojo::SizePtr size) override {}
virtual void OnDestroyed() override {}
- virtual void OnEvent(mojo::EventPtr event,
- const mojo::Callback<void()>& callback) override {
- callback.Run();
- }
private:
void OnCreatedNativeViewport(uint64_t native_viewport_id) {}
« no previous file with comments | « examples/sample_app/sample_app.cc ('k') | mojo/services/native_viewport/native_viewport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698