Index: chrome/renderer/resources/extensions/app_window_custom_bindings.js |
diff --git a/chrome/renderer/resources/extensions/app_window_custom_bindings.js b/chrome/renderer/resources/extensions/app_window_custom_bindings.js |
index 812d3d6c6af54474773bc45892310b9ce48314e4..1a889b7a47740ca024ebd643a2397bb20492263d 100644 |
--- a/chrome/renderer/resources/extensions/app_window_custom_bindings.js |
+++ b/chrome/renderer/resources/extensions/app_window_custom_bindings.js |
@@ -244,6 +244,9 @@ appWindow.registerCustomHook(function(bindingsAPI) { |
AppWindow.prototype.alphaEnabled = function() { |
return appWindowData.alphaEnabled; |
}; |
+ AppWindow.prototype.canSetVisibleOnAllWorkspaces = function () { |
+ return appWindowData.canSetVisibleOnAllWorkspaces; |
+ }; |
AppWindow.prototype.handleWindowFirstShownForTests = function(callback) { |
// This allows test apps to get have their callback run even if they |
// call this after the first show has happened. |
@@ -305,7 +308,8 @@ appWindow.registerCustomHook(function(bindingsAPI) { |
hasFrameColor: params.hasFrameColor, |
activeFrameColor: params.activeFrameColor, |
inactiveFrameColor: params.inactiveFrameColor, |
- alphaEnabled: params.alphaEnabled |
+ alphaEnabled: params.alphaEnabled, |
+ canSetVisibleOnAllWorkspaces: params.canSetVisibleOnAllWorkspaces |
}; |
currentAppWindow = new AppWindow; |
}); |