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

Side by Side Diff: chrome/common/extensions/api/webview.json

Issue 21297005: <webview>: Refactor Permission API to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_permissions
Patch Set: Cleanup Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "webview", 7 "namespace": "webview",
8 "description": "none", 8 "description": "none",
9 "functions": [ 9 "functions": [
10 { 10 {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "name": "reload", 89 "name": "reload",
90 "type": "function", 90 "type": "function",
91 "parameters": [ 91 "parameters": [
92 { 92 {
93 "type": "integer", 93 "type": "integer",
94 "name": "instanceId" 94 "name": "instanceId"
95 } 95 }
96 ] 96 ]
97 }, 97 },
98 { 98 {
99 "name": "setPermission",
100 "type": "function",
101 "parameters": [
102 {
103 "type": "integer",
104 "name": "instanceId"
105 },
106 {
107 "type": "integer",
108 "name": "requestId"
109 },
110 {
111 "type": "boolean",
112 "name": "shouldAllow"
113 },
114 {
115 "type": "string",
116 "name": "userInput"
117 }
118 ]
119 },
120 {
99 "name": "stop", 121 "name": "stop",
100 "type": "function", 122 "type": "function",
101 "parameters": [ 123 "parameters": [
102 { 124 {
103 "type": "integer", 125 "type": "integer",
104 "name": "instanceId" 126 "name": "instanceId"
105 } 127 }
106 ] 128 ]
107 }, 129 },
108 { 130 {
109 "name": "terminate", 131 "name": "terminate",
110 "type": "function", 132 "type": "function",
111 "parameters": [ 133 "parameters": [
112 { 134 {
113 "type": "integer", 135 "type": "integer",
114 "name": "instanceId" 136 "name": "instanceId"
115 } 137 }
116 ] 138 ]
117 } 139 }
118 ] 140 ]
119 } 141 }
120 ] 142 ]
121 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698