| 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 fe8fa9c628532aba4c10bc0855f691c8871b0a60..dd576d5eb0b1a11f779ccffa1122a1d802ca5fd1 100644
|
| --- a/chrome/common/extensions/api/app_window.idl
|
| +++ b/chrome/common/extensions/api/app_window.idl
|
| @@ -50,6 +50,10 @@ namespace app.window {
|
|
|
| // Frame type: 'none' or 'chrome' (defaults to 'chrome').
|
| DOMString? frame;
|
| +
|
| + // If true, the window will be created in a hidden state. Call show() on
|
| + // the window to show it once it has been created. Defaults to false.
|
| + boolean? hidden;
|
| };
|
|
|
| callback CreateWindowCallback =
|
| @@ -83,6 +87,12 @@ namespace app.window {
|
| // Close the window.
|
| static void close();
|
|
|
| + // Show the window. Does nothing if the window is already visible.
|
| + static void show();
|
| +
|
| + // Hide the window. Does nothing if the window is already hidden.
|
| + static void hide();
|
| +
|
| // The JavaScript 'window' object for the created child.
|
| [instanceOf=global] object contentWindow;
|
| };
|
|
|