| Index: modules/notifications/WebKitNotification.idl
|
| diff --git a/modules/webmidi/MIDIPort.idl b/modules/notifications/WebKitNotification.idl
|
| similarity index 80%
|
| copy from modules/webmidi/MIDIPort.idl
|
| copy to modules/notifications/WebKitNotification.idl
|
| index 944cacb6834ad95d65858fb5cfe5af2d0de4fd20..52899ff5879d234d7697d1d04d3809351596138d 100644
|
| --- a/modules/webmidi/MIDIPort.idl
|
| +++ b/modules/notifications/WebKitNotification.idl
|
| @@ -28,20 +28,20 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -enum MIDIPortType {
|
| - "input",
|
| - "output"
|
| -};
|
| -
|
| [
|
| + ActiveDOMObject,
|
| + Conditional=LEGACY_NOTIFICATIONS,
|
| NoInterfaceObject,
|
| - ActiveDOMObject
|
| -] interface MIDIPort : EventTarget {
|
| - readonly attribute DOMString id;
|
| - readonly attribute DOMString manufacturer;
|
| - readonly attribute DOMString name;
|
| - readonly attribute MIDIPortType type;
|
| - readonly attribute DOMString version;
|
| + RuntimeEnabled=Notifications,
|
| +] interface WebKitNotification : EventTarget {
|
| + void show();
|
| + void cancel();
|
| +
|
| + attribute EventHandler ondisplay;
|
| + attribute EventHandler onerror;
|
| + attribute EventHandler onclose;
|
| + attribute EventHandler onclick;
|
|
|
| - attribute EventHandler ondisconnect;
|
| + attribute DOMString dir;
|
| + attribute DOMString replaceId;
|
| };
|
|
|