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

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

Issue 1843163003: [Extensions] Convert APIs to use movable types [14] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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": "windows", 7 "namespace": "windows",
8 "description": "Use the <code>chrome.windows</code> API to interact with bro wser windows. You can use this API to create, modify, and rearrange windows in t he browser.", 8 "description": "Use the <code>chrome.windows</code> API to interact with bro wser windows. You can use this API to create, modify, and rearrange windows in t he browser.",
9 "compiler_options": { 9 "compiler_options": {
10 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h" 10 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h",
11 "use_movable_types": true
11 }, 12 },
12 "types": [ 13 "types": [
13 { 14 {
14 "id": "WindowType", 15 "id": "WindowType",
15 "type": "string", 16 "type": "string",
16 "description": "The type of browser window this is. Under some circumsta nces a Window may not be assigned type property, for example when querying close d windows from the $(ref:sessions) API.", 17 "description": "The type of browser window this is. Under some circumsta nces a Window may not be assigned type property, for example when querying close d windows from the $(ref:sessions) API.",
17 "enum": ["normal", "popup", "panel", "app", "devtools"] 18 "enum": ["normal", "popup", "panel", "app", "devtools"]
18 }, 19 },
19 { 20 {
20 "id": "WindowState", 21 "id": "WindowState",
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 "description": "Conditions that the window's type being removed must satisfy. By default it will satisfy <code>['app', 'normal', 'panel', 'popup']</ code>, with <code>'app'</code> and <code>'panel'</code> window types limited to the extension's own windows." 316 "description": "Conditions that the window's type being removed must satisfy. By default it will satisfy <code>['app', 'normal', 'panel', 'popup']</ code>, with <code>'app'</code> and <code>'panel'</code> window types limited to the extension's own windows."
316 } 317 }
317 ], 318 ],
318 "parameters": [ 319 "parameters": [
319 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 320 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
320 ] 321 ]
321 } 322 }
322 ] 323 ]
323 } 324 }
324 ] 325 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698