summaryrefslogtreecommitdiffstats
path: root/mojo/examples/embedded_app/embedded_app.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/examples/embedded_app/embedded_app.cc')
-rw-r--r--mojo/examples/embedded_app/embedded_app.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/examples/embedded_app/embedded_app.cc b/mojo/examples/embedded_app/embedded_app.cc
index 73f281d..8600dc7 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";