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

Unified Diff: modules/notifications/WebKitNotification.idl

Issue 155973006: Roll IDL to 1750 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 10 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 | « modules/notifications/NotificationPermissionCallback.idl ('k') | modules/quota/StorageErrorCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « modules/notifications/NotificationPermissionCallback.idl ('k') | modules/quota/StorageErrorCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698