| Index: chrome/common/extensions/api/app_current_window_internal.idl
|
| diff --git a/chrome/common/extensions/api/app_current_window_internal.idl b/chrome/common/extensions/api/app_current_window_internal.idl
|
| index 639a44df5a3e106a3f44c5df8c1d8b484c6c9e53..d355693867b312b65be2817ebfdfa516dfba7315 100644
|
| --- a/chrome/common/extensions/api/app_current_window_internal.idl
|
| +++ b/chrome/common/extensions/api/app_current_window_internal.idl
|
| @@ -3,7 +3,25 @@
|
| // found in the LICENSE file.
|
|
|
| [internal, nodoc] namespace app.currentWindowInternal {
|
| +
|
| + // used on a developer refresh to retrieve ShellWindow values
|
| + dictionary WindowCacheRefresh {
|
| + long minWidth;
|
| + long minHeight;
|
| + long maxWidth;
|
| + long maxHeight;
|
| + DOMString windowKey;
|
| + DOMString windowState;
|
| + DOMString windowType;
|
| + DOMString frameType;
|
| + };
|
| +
|
| + callback CacheRefreshCallback = void (WindowCacheRefresh state);
|
| +
|
| interface Functions {
|
| + // Get the frame type (e.g. 'none' or 'chrome')
|
| + static void getState(CacheRefreshCallback callback);
|
| +
|
| // Focus the window.
|
| static void focus();
|
|
|
| @@ -15,5 +33,11 @@
|
|
|
| // Restore the window.
|
| static void restore();
|
| +
|
| + // Update the minimum user-resizable dimensions of the window
|
| + static void setMinSize(long x, long y);
|
| +
|
| + // Update the maximum user-resizable dimensions of the window
|
| + static void setMaxSize(long x, long y);
|
| };
|
| };
|
|
|