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 a4d6b2be37cbb4212159f8b9139d9643362d64e4..e32bd126cbee849bf577c50dda830f54c91521f0 100644 |
--- a/chrome/renderer/resources/extensions/app_window_custom_bindings.js |
+++ b/chrome/renderer/resources/extensions/app_window_custom_bindings.js |
@@ -112,6 +112,9 @@ appWindow.registerCustomHook(function(bindingsAPI) { |
AppWindow.prototype.isMaximized = function() { |
return appWindowData.maximized; |
}; |
+ AppWindow.prototype.isAlwaysOnTop = function() { |
+ return appWindowData.alwaysOnTop; |
+ }; |
Object.defineProperty(AppWindow.prototype, 'id', {get: function() { |
return appWindowData.id; |
@@ -123,7 +126,8 @@ appWindow.registerCustomHook(function(bindingsAPI) { |
width: params.bounds.width, height: params.bounds.height }, |
fullscreen: params.fullscreen, |
minimized: params.minimized, |
- maximized: params.maximized |
+ maximized: params.maximized, |
+ alwaysOnTop: params.alwaysOnTop |
}; |
currentAppWindow = new AppWindow; |
}); |