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"; |