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

Unified Diff: examples/nesting_app/nesting_app.cc

Issue 1375313006: For c++, Generate enum classes instead of enum from mojom. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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/native_run_app/native_run_app.cc ('k') | examples/nfc_sender/nfc_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/nesting_app/nesting_app.cc
diff --git a/examples/nesting_app/nesting_app.cc b/examples/nesting_app/nesting_app.cc
index 0d8c72112b4f0e1723b2aa36c69a8d46f98756f2..30ae0bdbbc984a16a8593f4aa98d75f706aabfea 100644
--- a/examples/nesting_app/nesting_app.cc
+++ b/examples/nesting_app/nesting_app.cc
@@ -84,7 +84,7 @@ class NestingApp
nested_ = NULL;
}
void OnViewInputEvent(View* view, const EventPtr& event) override {
- if (event->action == EVENT_TYPE_POINTER_UP)
+ if (event->action == EventType::POINTER_UP)
window_manager_->CloseWindow(view->id());
}
« no previous file with comments | « examples/native_run_app/native_run_app.cc ('k') | examples/nfc_sender/nfc_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698