summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-06 11:10:41 +0000
committerbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-06 11:10:41 +0000
commit86ba213c8e8bfdc9407800c40b9f2552c3e444ac (patch)
tree07bab5f2fc10c2fb152bd929681715035987c8ce
parentac613c3c257bd6eb3e3ad325377c8a4f938148cc (diff)
downloadchromium_src-86ba213c8e8bfdc9407800c40b9f2552c3e444ac.zip
chromium_src-86ba213c8e8bfdc9407800c40b9f2552c3e444ac.tar.gz
chromium_src-86ba213c8e8bfdc9407800c40b9f2552c3e444ac.tar.bz2
Make documentation on app window API permissions refer to stable.
These permissions have been updated, but the changes have not reached stable channel. As the documentation system reads from trunk we should keep the documentation as it was, until the new permission names are available. BUG=366435 Review URL: https://codereview.chromium.org/266083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268486 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/extensions/api/app_window.idl9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl
index 0b2d3e8..ee3c8d5 100644
--- a/chrome/common/extensions/api/app_window.idl
+++ b/chrome/common/extensions/api/app_window.idl
@@ -244,7 +244,7 @@ namespace app.window {
// If true, the window will stay above most other windows. If there are
// multiple windows of this kind, the currently focused window will be in
- // the foreground. Requires the <code>"app.window.alwaysOnTop"</code>
+ // the foreground. Requires the <code>"alwaysOnTopWindows"</code>
// permission. Defaults to false.<br>
// Call <code>setAlwaysOnTop()</code> on the window to change this property
// after creation.<br>
@@ -271,9 +271,8 @@ namespace app.window {
// Fullscreens the window.<br>
// The user will be able to restore the window by pressing ESC. An
// application can prevent the fullscreen state to be left when ESC is
- // pressed by requesting the <b>app.window.fullscreen.overrideEsc</b>
- // permission and canceling the event by calling .preventDefault(), like
- // this:<br>
+ // pressed by requesting the <b>overrideEscFullscreen</b> permission and
+ // canceling the event by calling .preventDefault(), like this:<br>
// <code>window.onKeyDown = function(e) { if (e.keyCode == 27 /* ESC */) {
// e.preventDefault(); } };</code>
static void fullscreen();
@@ -346,7 +345,7 @@ namespace app.window {
[nodoc] long inactiveFrameColor;
// Set whether the window should stay above most other windows. Requires the
- // <code>"app.window.alwaysOnTop"</code> permission.
+ // <code>"alwaysOnTopWindows"</code> permission.
static void setAlwaysOnTop(boolean alwaysOnTop);
// The JavaScript 'window' object for the created child.