Chromium Code Reviews| Index: chrome/common/extensions/api/rtc_private.idl |
| diff --git a/chrome/common/extensions/api/rtc_private.idl b/chrome/common/extensions/api/rtc_private.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1d87b05e70c08a89cd32235d88e8764323bb4fb0 |
| --- /dev/null |
| +++ b/chrome/common/extensions/api/rtc_private.idl |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +namespace rtcPrivate { |
| + dictionary LaunchIntent { |
| + // Launch action. |
| + DOMString action; |
|
Mihai Parparita -not on Chrome
2012/09/05 20:11:09
This should use an enum.
zel
2012/09/05 21:30:44
Done.
|
| + |
| + // Launch data payload. |
| + DOMString data; |
| + |
| + // MIME type. |
| + DOMString type; |
| + }; |
| + |
| + dictionary LaunchData { |
| + // Launch intent. |
| + LaunchIntent intent; |
| + }; |
| + |
| + interface Events { |
| + // Fired when an RTC launch event is raised. |
| + static void onLaunch(optional LaunchData data); |
| + }; |
| +}; |