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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor changes Created 7 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) 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 // Use the <code>chrome.app.runtime</code> module to manage the app lifecycle.
6 // The app runtime manages app installation, controls the event page, and can
7 // shut down the app at anytime.
8
5 namespace app.runtime { 9 namespace app.runtime {
6 10
7 [inline_doc] dictionary LaunchItem { 11 [inline_doc] dictionary LaunchItem {
8 // FileEntry for the file. 12 // FileEntry for the file.
9 [instanceOf=FileEntry] object entry; 13 [instanceOf=FileEntry] object entry;
10 14
11 // The MIME type of the file. 15 // The MIME type of the file.
12 DOMString type; 16 DOMString type;
13 }; 17 };
14 18
15 // Optional data for the launch. 19 // Optional data for the launch.
16 [inline_doc] dictionary LaunchData { 20 [inline_doc] dictionary LaunchData {
17 // The id of the file handler that the app is being invoked with. 21 // The id of the file handler that the app is being invoked with.
18 DOMString? id; 22 DOMString? id;
19 23
20 LaunchItem[]? items; 24 LaunchItem[]? items;
21 }; 25 };
22 26
23 interface Events { 27 interface Events {
24 // Fired when an app is launched from the launcher. 28 // Fired when an app is launched from the launcher.
25 static void onLaunched(optional LaunchData launchData); 29 static void onLaunched(optional LaunchData launchData);
26 30
27 // Fired at Chrome startup to apps that were running when Chrome last shut 31 // Fired at Chrome startup to apps that were running when Chrome last shut
28 // down. 32 // down.
29 static void onRestarted(); 33 static void onRestarted();
30 }; 34 };
31 }; 35 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698