| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // rtcPrivate. |
| 5 namespace rtcPrivate { | 6 namespace rtcPrivate { |
| 6 // Launch action type. | 7 // Launch action type. |
| 7 enum ActionType {chat, voice, video}; | 8 enum ActionType {chat, voice, video}; |
| 8 | 9 |
| 9 dictionary LaunchIntent { | 10 dictionary LaunchIntent { |
| 10 // Launch action. | 11 // Launch action. |
| 11 ActionType action; | 12 ActionType action; |
| 12 | 13 |
| 13 // Launch data payload. | 14 // Launch data payload. |
| 14 object data; | 15 object data; |
| 15 | 16 |
| 16 // MIME type. | 17 // MIME type. |
| 17 DOMString type; | 18 DOMString type; |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 dictionary LaunchData { | 21 dictionary LaunchData { |
| 21 // Launch intent. | 22 // Launch intent. |
| 22 LaunchIntent intent; | 23 LaunchIntent intent; |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 interface Events { | 26 interface Events { |
| 26 // Fired when an RTC launch event is raised. | 27 // Fired when an RTC launch event is raised. |
| 27 static void onLaunch(optional LaunchData data); | 28 static void onLaunch(optional LaunchData data); |
| 28 }; | 29 }; |
| 29 }; | 30 }; |
| OLD | NEW |