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

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

Issue 1825913002: [Extensions] Convert APIs to use movable types [7] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Steven's Created 4 years, 8 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 // 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 // Use the <code>chrome.notifications</code> API to create rich notifications 5 // Use the <code>chrome.notifications</code> API to create rich notifications
6 // using templates and show these notifications to users in the system tray. 6 // using templates and show these notifications to users in the system tray.
7 namespace notifications { 7 [use_movable_types=true] namespace notifications {
8 [noinline_doc] enum TemplateType { 8 [noinline_doc] enum TemplateType {
9 // icon, title, message, expandedMessage, up to two buttons 9 // icon, title, message, expandedMessage, up to two buttons
10 basic, 10 basic,
11 11
12 // icon, title, message, expandedMessage, image, up to two buttons 12 // icon, title, message, expandedMessage, image, up to two buttons
13 image, 13 image,
14 14
15 // icon, title, message, items, up to two buttons 15 // icon, title, message, items, up to two buttons
16 list, 16 list,
17 17
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // The user changes the permission level. As of Chrome 47, only ChromeOS 188 // The user changes the permission level. As of Chrome 47, only ChromeOS
189 // has UI that dispatches this event. 189 // has UI that dispatches this event.
190 static void onPermissionLevelChanged(PermissionLevel level); 190 static void onPermissionLevelChanged(PermissionLevel level);
191 191
192 // The user clicked on a link for the app's notification settings. As of 192 // The user clicked on a link for the app's notification settings. As of
193 // Chrome 47, only ChromeOS has UI that dispatches this event. 193 // Chrome 47, only ChromeOS has UI that dispatches this event.
194 static void onShowSettings(); 194 static void onShowSettings();
195 }; 195 };
196 }; 196 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/notification_provider.idl ('k') | chrome/utility/media_galleries/media_metadata_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698