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

Side by Side Diff: components/arc/common/notifications.mojom

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/arc/common/net.mojom ('k') | components/arc/common/policy.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc; 5 module arc.mojom;
6 6
7 // These values must be matched with the NOTIFICATION_EVENT_* constants in 7 // These values must be matched with the NOTIFICATION_EVENT_* constants in
8 // com.android.server.ArcNotificationListenerService. 8 // com.android.server.ArcNotificationListenerService.
9 enum ArcNotificationEvent { 9 enum ArcNotificationEvent {
10 BODY_CLICKED = 0, 10 BODY_CLICKED = 0,
11 CLOSED = 1, 11 CLOSED = 1,
12 // Five buttons at maximum (message_center::kNotificationMaximumItems = 5). 12 // Five buttons at maximum (message_center::kNotificationMaximumItems = 5).
13 BUTTON_1_CLICKED = 2, 13 BUTTON_1_CLICKED = 2,
14 BUTTON_2_CLICKED = 3, 14 BUTTON_2_CLICKED = 3,
15 BUTTON_3_CLICKED = 4, 15 BUTTON_3_CLICKED = 4,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // TODO(lhchavez): Migrate all request/response messages to Mojo. 95 // TODO(lhchavez): Migrate all request/response messages to Mojo.
96 interface NotificationsInstance { 96 interface NotificationsInstance {
97 // Establishes full-duplex communication with the host. 97 // Establishes full-duplex communication with the host.
98 Init(NotificationsHost host_ptr); 98 Init(NotificationsHost host_ptr);
99 99
100 // Sends an event from Chrome notification UI to Android. 100 // Sends an event from Chrome notification UI to Android.
101 // |event| is a type of occured event. 101 // |event| is a type of occured event.
102 SendNotificationEventToAndroid(string key, ArcNotificationEvent event); 102 SendNotificationEventToAndroid(string key, ArcNotificationEvent event);
103 }; 103 };
OLDNEW
« no previous file with comments | « components/arc/common/net.mojom ('k') | components/arc/common/policy.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698