diff options
author | zork <zork@chromium.org> | 2014-11-18 17:20:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 01:21:58 +0000 |
commit | 9d82b6e8d9359114798639b78759172bbccd3b66 (patch) | |
tree | 725006ba29a6ddd6a6ffdbce32f54e374b10cdc9 /extensions/shell/common | |
parent | be3a0c0cf1d456804e883ae55a2a5f9ff64f4f2d (diff) | |
download | chromium_src-9d82b6e8d9359114798639b78759172bbccd3b66.zip chromium_src-9d82b6e8d9359114798639b78759172bbccd3b66.tar.gz chromium_src-9d82b6e8d9359114798639b78759172bbccd3b66.tar.bz2 |
Revert https://crrev.com/a713479270ad0ed2b4827eda0268eb9d265a85de
This API will not be implemented, so the bindings must be removed.
BUG=424650
Review URL: https://codereview.chromium.org/737863003
Cr-Commit-Position: refs/heads/master@{#304727}
Diffstat (limited to 'extensions/shell/common')
-rw-r--r-- | extensions/shell/common/api/_api_features.json | 5 | ||||
-rw-r--r-- | extensions/shell/common/api/schemas.gypi | 1 | ||||
-rw-r--r-- | extensions/shell/common/api/shell_window.idl | 50 |
3 files changed, 0 insertions, 56 deletions
diff --git a/extensions/shell/common/api/_api_features.json b/extensions/shell/common/api/_api_features.json index 4f2fa7c..ea4adf1 100644 --- a/extensions/shell/common/api/_api_features.json +++ b/extensions/shell/common/api/_api_features.json @@ -18,10 +18,5 @@ "channel": "dev", "contexts": ["blessed_extension"], "extension_types": ["platform_app"] - }, - "shell.window": { - "channel": "dev", - "contexts": ["blessed_extension"], - "extension_types": ["platform_app"] } } diff --git a/extensions/shell/common/api/schemas.gypi b/extensions/shell/common/api/schemas.gypi index f995048..201628b 100644 --- a/extensions/shell/common/api/schemas.gypi +++ b/extensions/shell/common/api/schemas.gypi @@ -9,7 +9,6 @@ 'variables': { 'schema_files': [ 'identity.idl', - 'shell_window.idl', ], 'non_compiled_schema_files': [ ], diff --git a/extensions/shell/common/api/shell_window.idl b/extensions/shell/common/api/shell_window.idl deleted file mode 100644 index 9a6ef09..0000000 --- a/extensions/shell/common/api/shell_window.idl +++ /dev/null @@ -1,50 +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. - -// Allows control of focused window in app_shell -namespace shell.window { - - dictionary RequestInfo { - // The id of the app making the request. - DOMString appId; - }; - - dictionary ShowInfo { - // The id of the app to show. - DOMString? appId; - - // The name of the app to show. - DOMString? appName; - }; - - interface Functions { - // Bring the specified app to the foreground. Can only be called by the - // master app. In showInfo, one of appId or appName must be provided. - static void showApp(ShowInfo showInfo); - - // Request the current app be brought to the foreground. The request will - // be forwarded to the master app. - static void requestShow(); - - // Request the current app be hidden. The request will be forwarded to the - // master app. - static void requestHide(); - }; - - interface Events { - // Fired when an app requests to be shown. Only the master app can receive - // this. - static void onShowRequest(RequestInfo info); - - // Fired when an app requests to be hidden. Only the master app can receive - // this. - static void onHideRequest(RequestInfo info); - - // Fired when this app is shown. - static void onShow(); - - // Fired when this app is hidden. - static void onHide(); - }; -}; |