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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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> module to interact with browser windows. You can use this module to create, modify, and rearrange window s in the browser.",
8 "compiler_options": { 9 "compiler_options": {
9 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h" 10 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h"
10 }, 11 },
11 "dependencies": [ "tabs" ], 12 "dependencies": [ "tabs" ],
12 "types": [ 13 "types": [
13 { 14 {
14 "id": "Window", 15 "id": "Window",
15 "type": "object", 16 "type": "object",
16 "properties": { 17 "properties": {
17 "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 closed windows from the $ref:sessionRestore API."}, 18 "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 closed windows from the $ref:sessionRestore API."},
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 "name": "onFocusChanged", 269 "name": "onFocusChanged",
269 "type": "function", 270 "type": "function",
270 "description": "Fired when the currently focused window changes. Will be chrome.windows.WINDOW_ID_NONE if all chrome windows have lost focus. Note: On s ome Linux window managers, WINDOW_ID_NONE will always be sent immediately preced ing a switch from one chrome window to another.", 271 "description": "Fired when the currently focused window changes. Will be chrome.windows.WINDOW_ID_NONE if all chrome windows have lost focus. Note: On s ome Linux window managers, WINDOW_ID_NONE will always be sent immediately preced ing a switch from one chrome window to another.",
271 "parameters": [ 272 "parameters": [
272 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 273 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
273 ] 274 ]
274 } 275 }
275 ] 276 ]
276 } 277 }
277 ] 278 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698