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

Unified Diff: chrome/common/extensions/api/extension_api.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/extension_api.json
===================================================================
--- chrome/common/extensions/api/extension_api.json (revision 114830)
+++ chrome/common/extensions/api/extension_api.json (working copy)
@@ -961,6 +961,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": [
@@ -977,6 +986,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": [
@@ -993,6 +1011,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": [

Powered by Google App Engine
This is Rietveld 408576698