Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4526)

Unified Diff: chrome/common/extensions/api/app_window.idl

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b08037bf327bddf1dfbb1ba6e508493e54cff19d..cf6a67e52ccffc75d332a06075c3138a28913ddd 100644
--- a/chrome/common/extensions/api/app_window.idl
+++ b/chrome/common/extensions/api/app_window.idl
@@ -351,6 +351,9 @@ namespace app.window {
// <code>"alwaysOnTopWindows"</code> permission.
static void setAlwaysOnTop(boolean alwaysOnTop);
+ // Whether alpha is enabled for this window.
Wez 2014/07/09 22:03:30 nit: Suggest "Does the window have access to alpha
jackhou1 2014/07/10 03:04:18 Done.
+ [nodoc] static boolean alphaEnabled();
+
// The JavaScript 'window' object for the created child.
[instanceOf=Window] object contentWindow;
@@ -433,6 +436,9 @@ namespace app.window {
// Fired when the window is restored from being minimized or maximized.
[nocompile] static void onRestored();
+ // Fired when window.alphaEnabled changes.
Wez 2014/07/09 22:03:30 nit: This is obvious from the name; suggest "Fired
jackhou1 2014/07/10 03:04:18 Done.
+ [nocompile, nodoc] static void onAlphaEnabledChanged();
+
// Event for testing. Lets tests wait until a window has been shown.
[nocompile, nodoc] static void onWindowFirstShown();
};

Powered by Google App Engine
This is Rietveld 408576698