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

Side by Side Diff: third_party/WebCore/notifications/Notification.idl

Issue 10211003: Roll IDL to multivm@439 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
11 * * Redistributions in binary form must reproduce the above 11 * * Redistributions in binary form must reproduce the above
12 * copyright notice, this list of conditions and the following disclaimer 12 * copyright notice, this list of conditions and the following disclaimer
13 * in the documentation and/or other materials provided with the 13 * in the documentation and/or other materials provided with the
(...skipping 14 matching lines...) Expand all
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 module threads { 32 module threads {
33 33
34 interface [ 34 interface [
35 Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS, 35 Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS,
36 ActiveDOMObject, 36 ActiveDOMObject,
37 EventTarget, 37 EventTarget,
38 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
39 Constructor(in DOMString title, in [Optional=DefaultIsUndefined] Diction ary options),
40 CallWith=ScriptExecutionContext,
41 #else
38 OmitConstructor 42 OmitConstructor
43 #endif
39 ] Notification { 44 ] Notification {
40 void show(); 45 void show();
41 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS 46 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
42 void cancel(); 47 void cancel();
43 #endif 48 #endif
44 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS 49 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
45 void close(); 50 void close();
46 #endif 51 #endif
47 52
48 attribute EventListener onshow; 53 attribute EventListener onshow;
(...skipping 17 matching lines...) Expand all
66 in EventListener listener, 71 in EventListener listener,
67 in [Optional] boolean useCapture); 72 in [Optional] boolean useCapture);
68 void removeEventListener(in DOMString type, 73 void removeEventListener(in DOMString type,
69 in EventListener listener, 74 in EventListener listener,
70 in [Optional] boolean useCapture); 75 in [Optional] boolean useCapture);
71 boolean dispatchEvent(in Event evt) 76 boolean dispatchEvent(in Event evt)
72 raises(EventException); 77 raises(EventException);
73 }; 78 };
74 79
75 } 80 }
OLDNEW
« no previous file with comments | « third_party/WebCore/notifications/DOMWindowNotifications.idl ('k') | third_party/WebCore/notifications/NotificationCenter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698