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

Side by Side Diff: third_party/chrome/idl/managed_mode_private.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "managedModePrivate",
8 "nodoc": true,
9 "functions": [
10 {
11 "name": "enter",
12 "type": "function",
13 "description": "Shows a confirmation dialog, then puts the browser into managed mode. The callback parameter will be true if managed mode was entered su ccessfully, false if the user cancelled the confirmation. If managed mode is alr eady on, trying to enter it again will have no effect.",
14 "parameters": [
15 {
16 "type": "function",
17 "name": "callback",
18 "optional": true,
19 "parameters": [
20 {
21 "name": "result",
22 "type": "object",
23 "description": "The result of the attempt to enter managed mode. ",
24 "properties": {
25 "success": {
26 "description": "True if managed mode was entered successfull y, false if the user cancelled the confirmation.",
27 "type": "boolean"
28 }
29 }
30 }
31 ]
32 }
33 ]
34 },
35 {
36 "name": "get",
37 "type": "function",
38 "description": "Gets the value of the setting describing whether managed mode is in effect.",
39 "parameters": [
40 {
41 "type": "function",
42 "name": "callback",
43 "parameters": [
44 {
45 "name": "details",
46 "type": "object",
47 "description": "Details of the currently effective value.",
48 "properties": {
49 "value": {
50 "description": "The value of the setting.",
51 "type": "boolean"
52 }
53 }
54 }
55 ]
56 }
57 ]
58 },
59 {
60 "name": "setPolicy",
61 "type": "function",
62 "description": "Sets a policy.",
63 "parameters": [
64 {
65 "name": "key",
66 "type": "string",
67 "description": "Policy key."
68 },
69 {
70 "name": "value",
71 "type": "any",
72 "description": "Policy value."
73 },
74 {
75 "type": "function",
76 "name": "callback",
77 "optional": true,
78 "parameters": []
79 }
80 ]
81 },
82 {
83 "name": "getPolicy",
84 "type": "function",
85 "description": "Gets a policy value.",
86 "parameters": [
87 {
88 "name": "key",
89 "type": "string",
90 "description": "Policy key."
91 },
92 {
93 "type": "function",
94 "name": "callback",
95 "optional": true,
96 "parameters": [
97 {
98 "name": "value",
99 "type": "any",
100 "description": "Policy value or null if no policy is set.",
101 "optional": true
102 }
103 ]
104 }
105 ]
106 }
107 ],
108 "events": [
109 {
110 "name": "onChange",
111 "description": "Fired when the value of the setting changes.",
112 "parameters": [
113 {
114 "type": "object",
115 "name": "details",
116 "properties": {
117 "value": {
118 "description": "The value of the setting.",
119 "type": "any"
120 }
121 }
122 }
123 ]
124 }
125 ]
126 }
127 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/input_method_private.json ('k') | third_party/chrome/idl/management.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698