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

Unified Diff: examples/nfc_sender/nfc_sender.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/nesting_app/nesting_app.cc ('k') | examples/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/nfc_sender/nfc_sender.cc
diff --git a/examples/nfc_sender/nfc_sender.cc b/examples/nfc_sender/nfc_sender.cc
index c2ed6a401dacdc61f2a0860742caa13d0d684116..cb705358b7bb45850824f4956cb97eb4f4cffd7a 100644
--- a/examples/nfc_sender/nfc_sender.cc
+++ b/examples/nfc_sender/nfc_sender.cc
@@ -204,8 +204,8 @@ class NfcSenderDelegate : public mojo::ApplicationDelegate,
// mojo::ViewObserver
void OnViewInputEvent(mojo::View* view,
const mojo::EventPtr& event) override {
- if (event->action == mojo::EVENT_TYPE_POINTER_DOWN ||
- event->action == mojo::EVENT_TYPE_POINTER_MOVE) {
+ if (event->action == mojo::EventType::POINTER_DOWN ||
+ event->action == mojo::EventType::POINTER_MOVE) {
if (event->pointer_data) {
gfx::Point point(event->pointer_data->x, event->pointer_data->y);
« no previous file with comments | « examples/nesting_app/nesting_app.cc ('k') | examples/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698