Chromium Code Reviews| Index: chrome/common/extensions/api/app_window.idl |
| diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl |
| index 032897408f648ca375fff7d834cd4e5dd7686595..602e1cc5bf8ba3d1997e8e4bcc4703fe9006ac16 100644 |
| --- a/chrome/common/extensions/api/app_window.idl |
| +++ b/chrome/common/extensions/api/app_window.idl |
| @@ -103,6 +103,13 @@ namespace app.window { |
| // If you do want to create multiple windows with the same id, you can |
| // set this property to false. |
| boolean? singleton; |
| + |
| + // 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. Defaults to false. Call <code>setAlwaysOnTop()</code> on |
| + // the window to change this property after creation. |
| + // Currently available in the Dev channel only. |
| + [nodoc] boolean? alwaysOnTop; |
|
benwells
2013/10/09 02:00:50
Why are these nodoc?
tmdiep
2013/10/09 06:18:08
Removed [nodoc].
|
| }; |
| // Called in the creating window (parent) before the load event is called in |
| @@ -172,6 +179,14 @@ namespace app.window { |
| // TODO(stevenjb): Investigate implementing this on Windows and OSX. |
| [nodoc] static void setIcon(DOMString icon_url); |
| + // Is the window always on top? |
| + // Currently available in the Dev channel only. |
| + [nodoc] static boolean isAlwaysOnTop(); |
| + |
| + // Set whether the window should stay above most other windows. |
| + // Currently available in the Dev channel only. |
| + [nodoc] static void setAlwaysOnTop(boolean always_on_top); |
| + |
| // The JavaScript 'window' object for the created child. |
| [instanceOf=Window] object contentWindow; |
| }; |