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

Unified Diff: chrome/common/extensions/api/app_runtime.idl

Issue 217533006: Introduce apps API target in //apps and move app.runtime API into it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix dependencies (app-runtime-move) Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/chrome_extensions_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/app_runtime.idl
diff --git a/chrome/common/extensions/api/app_runtime.idl b/chrome/common/extensions/api/app_runtime.idl
deleted file mode 100644
index b1bd050ff27e7e91f7562f4b7746b08bd8d2ccca..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/app_runtime.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Use the <code>chrome.app.runtime</code> API to manage the app lifecycle.
-// The app runtime manages app installation, controls the event page, and can
-// shut down the app at anytime.
-namespace app.runtime {
-
- [inline_doc] dictionary LaunchItem {
- // FileEntry for the file.
- [instanceOf=FileEntry] object entry;
-
- // The MIME type of the file.
- DOMString type;
- };
-
- // Optional data for the launch. Either <code>items</code>, or
- // the pair (<code>url, referrerUrl</code>) can be present for any given
- // launch.
- [inline_doc] dictionary LaunchData {
- // The ID of the file or URL handler that the app is being invoked with.
- // Handler IDs are the top-level keys in the <code>file_handlers</code>
- // and/or <code>url_handlers</code> dictionaries in the manifest.
- DOMString? id;
-
- // The file entries for the <code>onLaunched</code> event triggered by a
- // matching file handler in the <code>file_handlers</code> manifest key.
- LaunchItem[]? items;
-
- // The URL for the <code>onLaunched</code> event triggered by a matching
- // URL handler in the <code>url_handlers</code> manifest key.
- DOMString? url;
-
- // The referrer URL for the <code>onLaunched</code> event triggered by a
- // matching URL handler in the <code>url_handlers</code> manifest key.
- DOMString? referrerUrl;
-
- // Whether the app is being launched in a <a
- // href="https://support.google.com/chromebook/answer/3134673">Chrome OS
- // kiosk session</a>.
- boolean? isKioskSession;
- };
-
- interface Events {
- // Fired when an app is launched from the launcher.
- static void onLaunched(optional LaunchData launchData);
-
- // Fired at Chrome startup to apps that were running when Chrome last shut
- // down.
- static void onRestarted();
- };
-};
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/chrome_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698