Chromium Code Reviews| 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 fb13c1303b44f8dd79ad80228e10d11fd16cce52..93a53c050ecaf286079e2070beabb2af0fa8d3b8 100644 |
| --- a/chrome/common/extensions/api/app_window.idl |
| +++ b/chrome/common/extensions/api/app_window.idl |
| @@ -13,6 +13,12 @@ namespace app.window { |
| long? height; |
| }; |
| + // TODO(benwells): document this once we are happy with it. |
| + [nodoc] dictionary FrameOptions { |
| + DOMString? type; |
| + DOMString? color; |
| + }; |
| + |
| // State of a window: normal, fullscreen, maximized, minimized. |
| enum State { normal, fullscreen, maximized, minimized }; |
| @@ -76,6 +82,10 @@ namespace app.window { |
| // to disable this style on nested elements. |
| DOMString? frame; |
| + // TODO(benwells): Fix our IDL parsing so I can have this called frame with |
|
Matt Giuca
2014/02/18 06:03:18
s/I/we/
benwells
2014/02/18 07:47:25
Oh yeah. In fact all personal pronouns are bad.
D
|
| + // (DOMString or FrameOptions)? frame. |
| + [nodoc] FrameOptions? frameOptions; |
| + |
| // Size and position of the content in the window (excluding the titlebar). |
| // If an id is also specified and a window with a matching id has been shown |
| // before, the remembered bounds of the window will be used instead. |
| @@ -232,6 +242,10 @@ namespace app.window { |
| // Is the window always on top? |
| static boolean isAlwaysOnTop(); |
| + // Accessors for testing. |
| + [nodoc] boolean hasFrameColor; |
| + [nodoc] long frameColor; |
| + |
| // Set whether the window should stay above most other windows. Requires the |
| // <code>"alwaysOnTopWindows"</code> permission. |
| static void setAlwaysOnTop(boolean alwaysOnTop); |