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

Unified Diff: mojo/examples/embedded_app/embedded_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 | « no previous file | mojo/examples/nesting_app/nesting_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/embedded_app/embedded_app.cc
diff --git a/mojo/examples/embedded_app/embedded_app.cc b/mojo/examples/embedded_app/embedded_app.cc
index 73f281d609515824f714579fee9641e5396ae4fd..8600dc7262790600b9b5c1cd873187d6a9a6e68c 100644
--- a/mojo/examples/embedded_app/embedded_app.cc
+++ b/mojo/examples/embedded_app/embedded_app.cc
@@ -104,8 +104,8 @@ class EmbeddedApp : public ApplicationDelegate,
// Overridden from ViewObserver:
virtual void OnViewInputEvent(View* view, const EventPtr& event) OVERRIDE {
- if (event->action == ui::ET_MOUSE_RELEASED) {
- if (event->flags & ui::EF_LEFT_MOUSE_BUTTON) {
+ if (event->action == EVENT_TYPE_MOUSE_RELEASED) {
+ if (event->flags & EVENT_FLAGS_LEFT_MOUSE_BUTTON) {
navigation::NavigationDetailsPtr nav_details(
navigation::NavigationDetails::New());
nav_details->url = "http://www.aaronboodman.com/z_dropbox/test.html";
« no previous file with comments | « no previous file | mojo/examples/nesting_app/nesting_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698