| Index: chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h
|
| diff --git a/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h b/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h
|
| index 9581f64d0e11d0894481dee6019127e3e0939447..37c2f7d8a8fd96ed017ee98ee4cc57e056ca5cba 100644
|
| --- a/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h
|
| +++ b/chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h
|
| @@ -134,6 +134,46 @@ class AppCurrentWindowInternalSetBoundsFunction
|
| virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE;
|
| };
|
|
|
| +class AppCurrentWindowInternalSetMinWidthFunction
|
| + : public AppCurrentWindowInternalExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setMinWidth",
|
| + APP_CURRENTWINDOWINTERNAL_SETMINWIDTH)
|
| + protected:
|
| + virtual ~AppCurrentWindowInternalSetMinWidthFunction() {}
|
| + virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE;
|
| +};
|
| +
|
| +class AppCurrentWindowInternalSetMinHeightFunction
|
| + : public AppCurrentWindowInternalExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setMinHeight",
|
| + APP_CURRENTWINDOWINTERNAL_SETMINHEIGHT)
|
| + protected:
|
| + virtual ~AppCurrentWindowInternalSetMinHeightFunction() {}
|
| + virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE;
|
| +};
|
| +
|
| +class AppCurrentWindowInternalSetMaxWidthFunction
|
| + : public AppCurrentWindowInternalExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setMaxWidth",
|
| + APP_CURRENTWINDOWINTERNAL_SETMAXWIDTH)
|
| + protected:
|
| + virtual ~AppCurrentWindowInternalSetMaxWidthFunction() {}
|
| + virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE;
|
| +};
|
| +
|
| +class AppCurrentWindowInternalSetMaxHeightFunction
|
| + : public AppCurrentWindowInternalExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.setMaxHeight",
|
| + APP_CURRENTWINDOWINTERNAL_SETMAXHEIGHT)
|
| + protected:
|
| + virtual ~AppCurrentWindowInternalSetMaxHeightFunction() {}
|
| + virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE;
|
| +};
|
| +
|
| class AppCurrentWindowInternalSetIconFunction
|
| : public AppCurrentWindowInternalExtensionFunction {
|
| public:
|
|
|