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

Side by Side Diff: extensions/common/api/app_runtime.idl

Issue 1993583002: Show notification instead of opening app launcher after extension installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 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
« no previous file with comments | « extensions/browser/api/app_runtime/app_runtime_api.cc ('k') | extensions/common/constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.app.runtime</code> API to manage the app lifecycle. 5 // Use the <code>chrome.app.runtime</code> API to manage the app lifecycle.
6 // The app runtime manages app installation, controls the event page, and can 6 // The app runtime manages app installation, controls the event page, and can
7 // shut down the app at anytime. 7 // shut down the app at anytime.
8 namespace app.runtime { 8 namespace app.runtime {
9 9
10 [inline_doc] dictionary LaunchItem { 10 [inline_doc] dictionary LaunchItem {
(...skipping 16 matching lines...) Expand all
27 url_handler, 27 url_handler,
28 system_tray, 28 system_tray,
29 about_page, 29 about_page,
30 keyboard, 30 keyboard,
31 extensions_page, 31 extensions_page,
32 management_api, 32 management_api,
33 ephemeral_app, 33 ephemeral_app,
34 background, 34 background,
35 kiosk, 35 kiosk,
36 chrome_internal, 36 chrome_internal,
37 test 37 test,
38 installed_notification
38 }; 39 };
39 40
40 // Optional data for the launch. Either <code>items</code>, or 41 // Optional data for the launch. Either <code>items</code>, or
41 // the pair (<code>url, referrerUrl</code>) can be present for any given 42 // the pair (<code>url, referrerUrl</code>) can be present for any given
42 // launch. 43 // launch.
43 [inline_doc] dictionary LaunchData { 44 [inline_doc] dictionary LaunchData {
44 // The ID of the file or URL handler that the app is being invoked with. 45 // The ID of the file or URL handler that the app is being invoked with.
45 // Handler IDs are the top-level keys in the <code>file_handlers</code> 46 // Handler IDs are the top-level keys in the <code>file_handlers</code>
46 // and/or <code>url_handlers</code> dictionaries in the manifest. 47 // and/or <code>url_handlers</code> dictionaries in the manifest.
47 DOMString? id; 48 DOMString? id;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 103
103 // Fired at Chrome startup to apps that were running when Chrome last shut 104 // Fired at Chrome startup to apps that were running when Chrome last shut
104 // down, or when apps have been requested to restart from their previous 105 // down, or when apps have been requested to restart from their previous
105 // state for other reasons (e.g. when the user revokes access to an app's 106 // state for other reasons (e.g. when the user revokes access to an app's
106 // retained files the runtime will restart the app). In these situations if 107 // retained files the runtime will restart the app). In these situations if
107 // apps do not have an <code>onRestarted</code> handler they will be sent 108 // apps do not have an <code>onRestarted</code> handler they will be sent
108 // an <code>onLaunched </code> event instead. 109 // an <code>onLaunched </code> event instead.
109 static void onRestarted(); 110 static void onRestarted();
110 }; 111 };
111 }; 112 };
OLDNEW
« no previous file with comments | « extensions/browser/api/app_runtime/app_runtime_api.cc ('k') | extensions/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698