Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / api / app_window.idl
index d1ea914..fb13c13 100644 (file)
@@ -109,7 +109,6 @@ namespace app.window {
     // permission. Defaults to false.<br>
     // Call <code>setAlwaysOnTop()</code> on the window to change this property
     // after creation.<br>
-    // Currently only available on Dev channel.
     boolean? alwaysOnTop;
 
     // If true, the window will be focused when created. Defaults to true.
@@ -222,12 +221,19 @@ namespace app.window {
     // TODO(stevenjb): Investigate implementing this on Windows and OSX.
     [nodoc] static void setIcon(DOMString iconUrl);
 
+    // Set a badge icon for the window.
+    // TODO(benwells): Document this properly before going to stable.
+    [nodoc] static void setBadgeIcon(DOMString iconUrl);
+
+    // Clear the current for the window.
+    // TODO(benwells): Document this properly before going to stable.
+    [nodoc] static void clearBadge();
+
     // Is the window always on top?
     static boolean isAlwaysOnTop();
 
     // Set whether the window should stay above most other windows. Requires the
     // <code>"alwaysOnTopWindows"</code> permission.
-    // Currently only available on Dev channel.
     static void setAlwaysOnTop(boolean alwaysOnTop);
 
     // The JavaScript 'window' object for the created child.