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

Unified Diff: apps/shell/common/api/shell.idl

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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 | « apps/shell/common/api/api.gyp ('k') | apps/shell/common/shell_content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/common/api/shell.idl
diff --git a/apps/shell/common/api/shell.idl b/apps/shell/common/api/shell.idl
deleted file mode 100644
index 02595356c4b1c48290cf6ff8457d050b71d35421..0000000000000000000000000000000000000000
--- a/apps/shell/common/api/shell.idl
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 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.shell</code> API to create windows. The
-// <code>createWindow</code> API is a subset of
-// <code>chrome.app.window.create</code>.
-namespace shell {
-
- // Called in the creating window (parent) before the load event is called in
- // the created window (child). The parent can set fields or functions on the
- // child usable from onload. E.g. background.js:<br>
- // <code>function(createdWindow) { createdWindow.contentWindow.foo =
- // function () { }; };</code>
- // <br>window.js:<br>
- // <code>window.onload = function () { foo(); }</code>
- callback CreateWindowCallback =
- void ([instanceOf=AppWindow] object createdWindow);
-
- [noinline_doc] dictionary AppWindow {
- // The JavaScript 'window' object for the created child.
- [instanceOf=Window] object contentWindow;
- };
-
- interface Functions {
- // Creates a fullscreen window on the default display. Options are ignored.
- static void createWindow(DOMString url,
- optional object optionsPlaceholder,
- optional CreateWindowCallback callback);
-
- // Returns an $(ref:AppWindow) object for the current script context
- // (i.e. JavaScript 'window' object).
- [nocompile] static AppWindow currentWindow();
- [nocompile, nodoc] static void initializeAppWindow();
- };
-};
« no previous file with comments | « apps/shell/common/api/api.gyp ('k') | apps/shell/common/shell_content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698