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

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

Issue 1263043002: Add NotificationOptions.actions so websites can provide buttons (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tweak SW test Created 5 years, 4 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 readonly attribute DOMString dir; 55 readonly attribute DOMString dir;
56 readonly attribute DOMString lang; 56 readonly attribute DOMString lang;
57 readonly attribute DOMString body; 57 readonly attribute DOMString body;
58 readonly attribute DOMString tag; 58 readonly attribute DOMString tag;
59 readonly attribute DOMString icon; 59 readonly attribute DOMString icon;
60 60
61 [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsign ed long>? vibrate; 61 [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsign ed long>? vibrate;
62 readonly attribute boolean silent; 62 readonly attribute boolean silent;
63 [CallWith=ScriptState] readonly attribute any data; 63 [CallWith=ScriptState] readonly attribute any data;
64 64
65 // TODO(johnme): The spec uses a FrozenArray, but sequence seems to behave l ike one already. Investigate why.
Peter Beverloo 2015/07/31 15:38:49 Please refer to an Issue #. Figuring this out is a
johnme 2015/07/31 16:08:52 Done.
66 [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<Notifi cationAction> actions;
67
65 [MeasureAs=NotificationClosed] void close(); 68 [MeasureAs=NotificationClosed] void close();
66 }; 69 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698