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

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

Issue 1833053004: [Extensions] Convert APIs to use movable types [10] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 [use_movable_types=true] namespace app.runtime {
9 9
10 [inline_doc] dictionary LaunchItem { 10 [inline_doc] dictionary LaunchItem {
11 // Entry for the item. 11 // Entry for the item.
12 [instanceOf=Entry] object entry; 12 [instanceOf=Entry] object entry;
13 13
14 // The MIME type of the file. 14 // The MIME type of the file.
15 DOMString? type; 15 DOMString? type;
16 }; 16 };
17 17
18 // Enumeration of app launch sources. 18 // Enumeration of app launch sources.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // Fired at Chrome startup to apps that were running when Chrome last shut 103 // 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 104 // 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 105 // 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 106 // 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 107 // apps do not have an <code>onRestarted</code> handler they will be sent
108 // an <code>onLaunched </code> event instead. 108 // an <code>onLaunched </code> event instead.
109 static void onRestarted(); 109 static void onRestarted();
110 }; 110 };
111 }; 111 };
OLDNEW
« no previous file with comments | « extensions/common/api/app_current_window_internal.idl ('k') | extensions/common/api/app_view_guest_internal.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698