diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-22 07:22:31 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-22 07:22:31 +0000 |
commit | 1d3b6c9cf0645cd57d245540dd4f7bb848eaed0e (patch) | |
tree | a35286b9a5cb7c44b8335ab82db4bfa2f3d7ec3a /chrome/common/extensions | |
parent | 6afe5654e77ec12b7198ed04f1ad33af72127a27 (diff) | |
download | chromium_src-1d3b6c9cf0645cd57d245540dd4f7bb848eaed0e.zip chromium_src-1d3b6c9cf0645cd57d245540dd4f7bb848eaed0e.tar.gz chromium_src-1d3b6c9cf0645cd57d245540dd4f7bb848eaed0e.tar.bz2 |
Add fullscreen state support for chrome.windows
BUG=112782
TEST=ExtensionApiTest.UpdateWindowShowState
Review URL: http://codereview.chromium.org/9328037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r-- | chrome/common/extensions/api/windows.json | 6 | ||||
-rw-r--r-- | chrome/common/extensions/docs/windows.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/common/extensions/api/windows.json b/chrome/common/extensions/api/windows.json index e72f303..e322e02 100644 --- a/chrome/common/extensions/api/windows.json +++ b/chrome/common/extensions/api/windows.json @@ -23,7 +23,7 @@ "state": { "type": "string", "description": "The state of this browser window.", - "enum": ["normal", "minimized", "maximized"] + "enum": ["normal", "minimized", "maximized", "fullscreen"] } } } @@ -208,8 +208,8 @@ "state": { "type": "string", "optional": true, - "description": "The new state of the window. The 'minimized' and 'maximized' states cannot be combined with 'left', 'top', 'width' or 'height'.", - "enum": ["normal", "minimized", "maximized"] + "description": "The new state of the window. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'.", + "enum": ["normal", "minimized", "maximized", "fullscreen"] } } }, diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html index d1e3787..69ef95d 100644 --- a/chrome/common/extensions/docs/windows.html +++ b/chrome/common/extensions/docs/windows.html @@ -1625,14 +1625,14 @@ For other examples and for help in viewing the source code, see <span id="typeTemplate"> <span> <span>string</span> - <span>["normal", "minimized", "maximized"]</span> + <span>["normal", "minimized", "maximized", "fullscreen"]</span> </span> </span> ) </div> </em> </dt> - <dd>The new state of the window. The 'minimized' and 'maximized' states cannot be combined with 'left', 'top', 'width' or 'height'.</dd> + <dd>The new state of the window. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -2116,7 +2116,7 @@ For other examples and for help in viewing the source code, see <span id="typeTemplate"> <span> <span>string</span> - <span>["normal", "minimized", "maximized"]</span> + <span>["normal", "minimized", "maximized", "fullscreen"]</span> </span> </span> ) |