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

Unified Diff: chrome/common/extensions/api/experimental.managedMode.json

Issue 10141008: Make managedMode extension API component-only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/experimental.managedMode.json
diff --git a/chrome/common/extensions/api/experimental.managedMode.json b/chrome/common/extensions/api/experimental.managedMode.json
deleted file mode 100644
index 66d30dd0184873eb0d82440285493080a17ecf38..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental.managedMode.json
+++ /dev/null
@@ -1,61 +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.
-
-[
- {
- "namespace": "experimental.managedMode",
- "dependencies": ["types"],
- "functions": [
- {
- "name": "enter",
- "type": "function",
- "description": "Shows a confirmation dialog, then puts the browser into managed mode. The callback parameter will be true if managed mode was entered successfully, false if the user cancelled the confirmation. If managed mode is already on, trying to enter it again will have no effect.",
- "parameters": [
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "parameters": [
- {
- "name": "result",
- "type": "object",
- "description": "The result of the attempt to enter managed mode.",
- "properties": {
- "success": {
- "description": "True if managed mode was entered successfully, false if the user cancelled the confirmation.",
- "type": "boolean"
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name": "get",
- "type": "function",
- "description": "Gets the value of the setting describing whether managed mode is in effect.",
- "parameters": [
- {
- "type": "function",
- "name": "callback",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "description": "Details of the currently effective value.",
- "properties": {
- "value": {
- "description": "The value of the setting.",
- "type": "boolean"
- }
- }
- }
- ]
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698