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

Unified Diff: mojo/examples/nesting_app/nesting_app.cc

Issue 413633003: Mojo: Introduces mojo::EventType and mojo::EventFlags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing Created 6 years, 5 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 | « mojo/examples/embedded_app/embedded_app.cc ('k') | mojo/examples/sample_app/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/nesting_app/nesting_app.cc
diff --git a/mojo/examples/nesting_app/nesting_app.cc b/mojo/examples/nesting_app/nesting_app.cc
index e62f1b753d13f2310aca512df31f5de2f70d27f2..4141cd6902df9459cf09f6688a61123519bd7200 100644
--- a/mojo/examples/nesting_app/nesting_app.cc
+++ b/mojo/examples/nesting_app/nesting_app.cc
@@ -101,7 +101,7 @@ class NestingApp : public ApplicationDelegate,
// Overridden from ViewObserver:
virtual void OnViewInputEvent(View* view, const EventPtr& event) OVERRIDE {
- if (event->action == ui::ET_MOUSE_RELEASED)
+ if (event->action == EVENT_TYPE_MOUSE_RELEASED)
window_manager_->CloseWindow(view->node()->id());
}
« no previous file with comments | « mojo/examples/embedded_app/embedded_app.cc ('k') | mojo/examples/sample_app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698