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 caff663e29def5edda094f0f520ba3571bbe3072..3a6e9dc5ea39ea798a66f6b987090b8da11d0eb2 100644 |
--- a/chrome/common/extensions/api/app_window.idl |
+++ b/chrome/common/extensions/api/app_window.idl |
@@ -263,6 +263,10 @@ namespace app.window { |
// If true, the window will be focused when created. Defaults to true. |
boolean? focused; |
+ |
+ // If true, the window will be visible on all workspaces. |
+ // This is only available on dev channel. |
+ boolean? visibleOnAllWorkspaces; |
}; |
// Called in the creating window (parent) before the load event is called in |
@@ -369,6 +373,11 @@ namespace app.window { |
// TODO(jackhou): Document this properly before going to stable. |
[nodoc] static boolean alphaEnabled(); |
+ // For platforms that support multiple workspaces, is this window visible on |
+ // all of them? |
+ // This is only available on dev channel. |
+ static void setVisibleOnAllWorkspaces(boolean alwaysVisible); |
+ |
// The JavaScript 'window' object for the created child. |
[instanceOf=Window] object contentWindow; |
@@ -426,6 +435,10 @@ namespace app.window { |
// Gets an $(ref:AppWindow) with the given id. If no window with the given id |
// exists null is returned. This method is new in Chrome 33. |
[nocompile] static AppWindow get(DOMString id); |
+ |
+ // Does the current platform support windows being visible on all |
+ // workspaces? |
+ [nocompile] static boolean canSetVisibleOnAllWorkspaces(); |
}; |
interface Events { |