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

Unified Diff: chrome/common/extensions/api/windows.json

Issue 8969011: Added populate parameter to chrome.windows.get, chrome.windows.getCurrent, (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/windows.json
===================================================================
--- chrome/common/extensions/api/windows.json (revision 114958)
+++ chrome/common/extensions/api/windows.json (working copy)
@@ -42,6 +42,15 @@
"parameters": [
{"type": "integer", "name": "windowId", "minimum": 0},
{
+ "type": "object",
+ "name": "getInfo",
+ "optional": true,
+ "description": "",
+ "properties": {
+ "populate": {"type": "boolean", "optional": true, "description": "If true, the window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects" }
+ }
+ },
+ {
"type": "function",
"name": "callback",
"parameters": [
@@ -58,6 +67,15 @@
"description": "Gets the <a href='#current-window'>current window</a>.",
"parameters": [
{
+ "type": "object",
+ "name": "getInfo",
+ "optional": true,
+ "description": "",
+ "properties": {
+ "populate": {"type": "boolean", "optional": true, "description": "If true, the window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects" }
+ }
+ },
+ {
"type": "function",
"name": "callback",
"parameters": [
@@ -74,6 +92,15 @@
"description": "Gets the window that was most recently focused &mdash; typically the window 'on top'.",
"parameters": [
{
+ "type": "object",
+ "name": "getInfo",
+ "optional": true,
+ "description": "",
+ "properties": {
+ "populate": {"type": "boolean", "optional": true, "description": "If true, the window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects" }
+ }
+ },
+ {
"type": "function",
"name": "callback",
"parameters": [
« no previous file with comments | « chrome/browser/extensions/extension_tabs_test.cc ('k') | chrome/renderer/resources/extensions/schema_generated_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698