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

Side by Side Diff: chrome/common/extensions/api/devtools/panels.json

Issue 2717543002: DevTools ext docs: Add chrome.devtools.panels.themeName (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": "devtools.panels", 7 "namespace": "devtools.panels",
8 "description": "Use the <code>chrome.devtools.panels</code> API to integrate your extension into Developer Tools window UI: create your own panels, access e xisting panels, and add sidebars.", 8 "description": "Use the <code>chrome.devtools.panels</code> API to integrate your extension into Developer Tools window UI: create your own panels, access e xisting panels, and add sidebars.",
9 "nocompile": true, 9 "nocompile": true,
10 "types": [ 10 "types": [
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 291 }
292 ], 292 ],
293 "properties": { 293 "properties": {
294 "elements": { 294 "elements": {
295 "$ref": "ElementsPanel", 295 "$ref": "ElementsPanel",
296 "description": "Elements panel." 296 "description": "Elements panel."
297 }, 297 },
298 "sources": { 298 "sources": {
299 "$ref": "SourcesPanel", 299 "$ref": "SourcesPanel",
300 "description": "Sources panel." 300 "description": "Sources panel."
301 },
302 "themeName": {
303 "type": "string",
304 "description": "The name of the color theme set in user's DevTools setti ngs. Possible values: <code>default</code> (the default) and <code>dark</code>."
301 } 305 }
302 }, 306 },
303 "functions": [ 307 "functions": [
304 { 308 {
305 "name": "create", 309 "name": "create",
306 "type": "function", 310 "type": "function",
307 "description": "Creates an extension panel.", 311 "description": "Creates an extension panel.",
308 "parameters": [ 312 "parameters": [
309 { 313 {
310 "name": "title", 314 "name": "title",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 "name": "callback", 379 "name": "callback",
376 "type": "function", 380 "type": "function",
377 "optional": true, 381 "optional": true,
378 "description": "A function that is called when the resource has been successfully loaded." 382 "description": "A function that is called when the resource has been successfully loaded."
379 } 383 }
380 ] 384 ]
381 } 385 }
382 ] 386 ]
383 } 387 }
384 ] 388 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698