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: ui/arc/notification/arc_notification_manager.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 | « ui/arc/notification/arc_notification_item.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_manager.cc
diff --git a/ui/arc/notification/arc_notification_manager.cc b/ui/arc/notification/arc_notification_manager.cc
index 91b8c269b2517fc2bced797f96c0d924b6744f94..9c877350a3f4bb22932841a0c03511c509b16d48 100644
--- a/ui/arc/notification/arc_notification_manager.cc
+++ b/ui/arc/notification/arc_notification_manager.cc
@@ -76,7 +76,7 @@ void ArcNotificationManager::SendNotificationRemovedFromChrome(
scoped_ptr<ArcNotificationItem> item(items_.take_and_erase(it));
arc_bridge_->notifications_instance()->SendNotificationEventToAndroid(
- key, ARC_NOTIFICATION_EVENT_CLOSED);
+ key, ArcNotificationEvent::CLOSED);
}
void ArcNotificationManager::SendNotificationClickedOnChrome(
@@ -88,7 +88,7 @@ void ArcNotificationManager::SendNotificationClickedOnChrome(
}
arc_bridge_->notifications_instance()->SendNotificationEventToAndroid(
- key, ARC_NOTIFICATION_EVENT_BODY_CLICKED);
+ key, ArcNotificationEvent::BODY_CLICKED);
}
} // namespace arc
« no previous file with comments | « ui/arc/notification/arc_notification_item.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698