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

Side by Side Diff: Source/modules/notifications/Notification.idl

Issue 15821017: Use "Constructor" prefix for IDL extended attributes applying to the constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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, 2012 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.
(...skipping 17 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 [ 32 [
33 Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS, 33 Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS,
34 ActiveDOMObject, 34 ActiveDOMObject,
35 EventTarget, 35 EventTarget,
36 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS 36 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
37 Constructor(DOMString title, [Default=Undefined] optional Dictionary options ), 37 Constructor(DOMString title, [Default=Undefined] optional Dictionary options ),
38 CallWith=ScriptExecutionContext, 38 ConstructorCallWith=ScriptExecutionContext,
39 #else 39 #else
40 #endif 40 #endif
41 ] interface Notification { 41 ] interface Notification {
42 void show(); 42 void show();
43 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS 43 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
44 void cancel(); 44 void cancel();
45 #endif 45 #endif
46 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS 46 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
47 void close(); 47 void close();
48 #endif 48 #endif
(...skipping 23 matching lines...) Expand all
72 // EventTarget interface 72 // EventTarget interface
73 void addEventListener(DOMString type, 73 void addEventListener(DOMString type,
74 EventListener listener, 74 EventListener listener,
75 optional boolean useCapture); 75 optional boolean useCapture);
76 void removeEventListener(DOMString type, 76 void removeEventListener(DOMString type,
77 EventListener listener, 77 EventListener listener,
78 optional boolean useCapture); 78 optional boolean useCapture);
79 [RaisesException] boolean dispatchEvent(Event evt); 79 [RaisesException] boolean dispatchEvent(Event evt);
80 }; 80 };
81 81
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescription.idl ('k') | Source/modules/speech/SpeechRecognition.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698