| 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 648724f1e5e508ce6bc6e17b770447c2237dd89e..0c23ab600c55d182494ddbc6440f6f492613fced 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
|
| @@ -133,6 +133,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:
|
|
|