| Index: chrome/renderer/resources/extensions/app_window_custom_bindings.js
|
| ===================================================================
|
| --- chrome/renderer/resources/extensions/app_window_custom_bindings.js (revision 285043)
|
| +++ chrome/renderer/resources/extensions/app_window_custom_bindings.js (working copy)
|
| @@ -241,6 +241,9 @@
|
| AppWindow.prototype.isAlwaysOnTop = function() {
|
| return appWindowData.alwaysOnTop;
|
| };
|
| + AppWindow.prototype.alphaEnabled = function() {
|
| + return appWindowData.alphaEnabled;
|
| + }
|
| 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.
|
| @@ -301,7 +304,8 @@
|
| alwaysOnTop: params.alwaysOnTop,
|
| hasFrameColor: params.hasFrameColor,
|
| activeFrameColor: params.activeFrameColor,
|
| - inactiveFrameColor: params.inactiveFrameColor
|
| + inactiveFrameColor: params.inactiveFrameColor,
|
| + alphaEnabled: params.alphaEnabled
|
| };
|
| currentAppWindow = new AppWindow;
|
| });
|
| @@ -348,6 +352,9 @@
|
| (oldData.minimized && !update.minimized) ||
|
| (oldData.maximized && !update.maximized))
|
| dispatchEventIfExists(currentWindow, "onRestored");
|
| +
|
| + if (oldData.alphaEnabled !== update.alphaEnabled)
|
| + dispatchEventIfExists(currentWindow, "onAlphaEnabledChanged");
|
| };
|
|
|
| function onAppWindowShownForTests() {
|
|
|