diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-15 08:05:14 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-15 08:05:14 +0000 |
commit | 7e5d1e689c3c5a8858a9675df46ca327f51b7c6e (patch) | |
tree | ec4d4b9eb5bd1d57e434346f3adbc4d1fd9cd3a3 /chrome/common | |
parent | cdba23d8f4889885b90b5a79c2e5dd4aa55e6f61 (diff) | |
download | chromium_src-7e5d1e689c3c5a8858a9675df46ca327f51b7c6e.zip chromium_src-7e5d1e689c3c5a8858a9675df46ca327f51b7c6e.tar.gz chromium_src-7e5d1e689c3c5a8858a9675df46ca327f51b7c6e.tar.bz2 |
Add the ability to focus a window to chrome.window.update().
Also, enable the tabs api test on linux. I'm probably going
to regret that, but it seems to work with one line removed.
BUG=31434
Review URL: http://codereview.chromium.org/545044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rwxr-xr-x | chrome/common/extensions/api/extension_api.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 1daeb09..a02895f 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -357,7 +357,8 @@ "left": {"type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels."}, "top": {"type": "integer", "optional": true, "description": "The offset from the top edge of the screen to move the window to in pixels."}, "width": {"type": "integer", "minimum": 0, "optional": true, "description": "The width to resize the window to in pixels."}, - "height": {"type": "integer", "minimum": 0, "optional": true, "description": "The height to resize the window to in pixels."} + "height": {"type": "integer", "minimum": 0, "optional": true, "description": "The height to resize the window to in pixels."}, + "focused": {"type": "boolean", "optional": true, "description": "Set to true to focus the window. Setting to false has no effect on the window (it doesn't blur it)."} } }, { |