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 65f34f853cb615a80bfe16a6ea0cf52301429073..a4be02da34823f60dc9988e72dce9d013c5d2703 100644 |
--- a/chrome/common/extensions/api/app_window.idl |
+++ b/chrome/common/extensions/api/app_window.idl |
@@ -54,16 +54,16 @@ namespace app.window { |
// Y coordinate of the window. (Deprecated; use 'bounds'.) |
[nodoc] long? top; |
- // Minimum width for the lifetime of the window. |
+ // Minimum width of the window. |
long? minWidth; |
- // Minimum height for the lifetime of the window. |
+ // Minimum height of the window. |
long? minHeight; |
- // Maximum width for the lifetime of the window. |
+ // Maximum width of the window. |
long? maxWidth; |
- // Maximum height for the lifetime of the window. |
+ // Maximum height of the window. |
long? maxHeight; |
// Type of window to create. |
@@ -174,6 +174,30 @@ namespace app.window { |
// Set the window's bounds. |
static void setBounds(Bounds bounds); |
+ // Get the current minimum width of the window. |
benwells
2013/10/21 21:30:06
For all of these, document what is returned if the
jackhou1
2013/10/22 05:20:30
Done.
|
+ [nocompile] static long getMinWidth(); |
+ |
+ // Get the current minimum height of the window. |
+ [nocompile] static long getMinHeight(); |
+ |
+ // Get the current maximum width of the window. |
+ [nocompile] static long getMaxWidth(); |
+ |
+ // Get the current maximum height of the window. |
+ [nocompile] static long getMaxHeight(); |
+ |
+ // Set the current minimum width of the window. |
+ static void setMinWidth(optional long minWidth); |
benwells
2013/10/21 21:30:06
For all of these, document how to clear the min or
jackhou1
2013/10/22 05:20:30
Done.
|
+ |
+ // Set the current minimum height of the window. |
+ static void setMinHeight(optional long minHeight); |
+ |
+ // Set the current maximum width of the window. |
+ static void setMaxWidth(optional long maxWidth); |
+ |
+ // Set the current maximum height of the window. |
+ static void setMaxHeight(optional long maxHeight); |
+ |
// Set the app icon for the window (experimental). |
// Currently this is only being implemented on Ash. |
// TODO(stevenjb): Investigate implementing this on Windows and OSX. |