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

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

Issue 11116016: Hook up API to notification_ui_manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: asargent review suggestion Created 8 years, 2 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
« no previous file with comments | « chrome/browser/extensions/api/notification/notification_apitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 [nodoc] namespace experimental.notification {
6 dictionary ShowOptions { 6 dictionary ShowOptions {
7 DOMString text; 7 DOMString iconUrl;
8 DOMString title;
9 DOMString message;
10 DOMString replaceId;
8 11
9 // Used for internal event routing. Do not set or rely on its value. 12 // Used for internal event routing. Do not set or rely on its value.
10 [nodoc] long? srcId; 13 [nodoc] long? srcId;
11 }; 14 };
12 15
13 dictionary ShowInfo { 16 dictionary ShowInfo {
17 boolean result;
14 }; 18 };
15 19
16 callback ShowCallback = void (ShowInfo showInfo); 20 callback ShowCallback = void (ShowInfo showInfo);
17 21
18 interface Functions { 22 interface Functions {
19 static void show(ShowOptions options, ShowCallback callback); 23 static void show(ShowOptions options, ShowCallback callback);
20 }; 24 };
21 25
22 }; 26 };
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/notification/notification_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698