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

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

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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 }, 11 },
12 "types": [ 12 "types": [
13 { 13 {
14 "id": "WindowType", 14 "id": "WindowType",
15 "type": "string", 15 "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.", 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 "enum": ["normal", "popup", "panel", "app", "devtools"] 17 "enum": ["normal", "popup", "panel", "app", "devtools"]
18 }, 18 },
19 { 19 {
20 "id": "WindowState", 20 "id": "WindowState",
21 "type": "string", 21 "type": "string",
22 "description": "The state of this browser window. Under some circumstanc es a Window may not be assigned state property, for example when querying closed windows from the $(ref:sessions) API.", 22 "description": "The state of this browser window. Under some circumstanc es a Window may not be assigned state property, for example when querying closed windows from the $(ref:sessions) API.",
23 "enum": ["normal", "minimized", "maximized", "fullscreen", "docked"] 23 "enum": [{
24 "name": "normal",
25 "description": "Normal window state (i.e. not minimized, maximized, or fullscreen)."
26 }, {
27 "name": "minimized",
28 "description": "Minimized window state."
29 }, {
30 "name": "maximized",
31 "description": "Maximized window state."
32 }, {
33 "name": "fullscreen",
34 "description": "Fullscreen window state."
35 }, {
36 "name": "docked",
37 "description": "<i>Deprecated since Chrome M59.</i> Docked windows are no longer supported. This state will be converted to \"normal\"."
38 }]
24 }, 39 },
25 { 40 {
26 "id": "Window", 41 "id": "Window",
27 "type": "object", 42 "type": "object",
28 "properties": { 43 "properties": {
29 "id": {"type": "integer", "optional": true, "minimum": 0, "description ": "The ID of the window. Window IDs are unique within a browser session. Under some circumstances a Window may not be assigned an ID, for example when querying windows using the $(ref:sessions) API, in which case a session ID may be presen t."}, 44 "id": {"type": "integer", "optional": true, "minimum": 0, "description ": "The ID of the window. Window IDs are unique within a browser session. Under some circumstances a Window may not be assigned an ID, for example when querying windows using the $(ref:sessions) API, in which case a session ID may be presen t."},
30 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."}, 45 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."},
31 "top": {"type": "integer", "optional": true, "description": "The offse t of the window from the top edge of the screen in pixels. Under some circumstan ces a Window may not be assigned top property, for example when querying closed windows from the $(ref:sessions) API."}, 46 "top": {"type": "integer", "optional": true, "description": "The offse t of the window from the top edge of the screen in pixels. Under some circumstan ces a Window may not be assigned top property, for example when querying closed windows from the $(ref:sessions) API."},
32 "left": {"type": "integer", "optional": true, "description": "The offs et of the window from the left edge of the screen in pixels. Under some circumst ances a Window may not be assigned left property, for example when querying clos ed windows from the $(ref:sessions) API."}, 47 "left": {"type": "integer", "optional": true, "description": "The offs et of the window from the left edge of the screen in pixels. Under some circumst ances a Window may not be assigned left property, for example when querying clos ed windows from the $(ref:sessions) API."},
33 "width": {"type": "integer", "optional": true, "description": "The wid th of the window, including the frame, in pixels. Under some circumstances a Win dow may not be assigned width property, for example when querying closed windows from the $(ref:sessions) API."}, 48 "width": {"type": "integer", "optional": true, "description": "The wid th of the window, including the frame, in pixels. Under some circumstances a Win dow may not be assigned width property, for example when querying closed windows from the $(ref:sessions) API."},
(...skipping 281 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." 330 "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 } 331 }
317 ], 332 ],
318 "parameters": [ 333 "parameters": [
319 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 334 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
320 ] 335 ]
321 } 336 }
322 ] 337 ]
323 } 338 }
324 ] 339 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer.cc ('k') | components/sessions/core/session_service_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698