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

Side by Side Diff: chrome/common/extensions/api/experimental_notification.idl

Issue 12315133: Very simple set of docs for experimental notification API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [nodoc] namespace experimental.notification { 5 namespace experimental.notification {
miket_OOO 2013/03/04 22:06:56 See https://codereview.chromium.org/12313115/. Dro
mkearney1 2013/03/06 00:03:40 Holding off on this until official move out of exp
6 enum TemplateType { 6 enum TemplateType {
7 // icon, title, message 7 // icon, title, message
8 simple, 8 simple,
9 9
10 // icon, title, message, expandedMessage, up to two buttons 10 // icon, title, message, expandedMessage, up to two buttons
11 basic, 11 basic,
12 12
13 // icon, title, message, expandedMessage, image, up to two buttons 13 // icon, title, message, expandedMessage, image, up to two buttons
14 image, 14 image,
15 15
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 static void onClosed(DOMString notificationId, boolean byUser); 107 static void onClosed(DOMString notificationId, boolean byUser);
108 108
109 // The user clicked in a non-button area of the notification. 109 // The user clicked in a non-button area of the notification.
110 static void onClicked(DOMString notificationId); 110 static void onClicked(DOMString notificationId);
111 111
112 // The user pressed a button in the notification. 112 // The user pressed a button in the notification.
113 static void onButtonClicked(DOMString notificationId, long buttonIndex); 113 static void onButtonClicked(DOMString notificationId, long buttonIndex);
114 }; 114 };
115 115
116 }; 116 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698