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 032897408f648ca375fff7d834cd4e5dd7686595..c96d38d061f7ac5b077aa2795e5eb9ca6dd3da6c 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. |
@@ -167,6 +167,30 @@ namespace app.window { |
// Set the window's bounds. |
static void setBounds(Bounds bounds); |
+ // Get the current minimum width of the window. |
+ [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); |
+ |
+ // 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. |