| Index: chrome/browser/extensions/api/app_window/app_window_api.h
|
| diff --git a/chrome/browser/extensions/api/app_window/app_window_api.h b/chrome/browser/extensions/api/app_window/app_window_api.h
|
| index 8ac57b98bdb63ab914dbe60617a2d8cef1ac96fd..70b0e4ac80dcbdb807af390936160a66e1826260 100644
|
| --- a/chrome/browser/extensions/api/app_window/app_window_api.h
|
| +++ b/chrome/browser/extensions/api/app_window/app_window_api.h
|
| @@ -7,21 +7,8 @@
|
|
|
| #include "chrome/browser/extensions/extension_function.h"
|
|
|
| -class ShellWindow;
|
| -
|
| namespace extensions {
|
|
|
| -class AppWindowExtensionFunction : public SyncExtensionFunction {
|
| - protected:
|
| - virtual ~AppWindowExtensionFunction() {}
|
| -
|
| - // Invoked with the current shell window.
|
| - virtual bool RunWithWindow(ShellWindow* window) = 0;
|
| -
|
| - private:
|
| - virtual bool RunImpl() OVERRIDE;
|
| -};
|
| -
|
| class AppWindowCreateFunction : public SyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION_NAME("app.window.create");
|
| @@ -31,42 +18,6 @@ class AppWindowCreateFunction : public SyncExtensionFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -class AppWindowFocusFunction : public AppWindowExtensionFunction {
|
| - public:
|
| - DECLARE_EXTENSION_FUNCTION_NAME("app.window.focus");
|
| -
|
| - protected:
|
| - virtual ~AppWindowFocusFunction() {}
|
| - virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
|
| -};
|
| -
|
| -class AppWindowMaximizeFunction : public AppWindowExtensionFunction {
|
| - public:
|
| - DECLARE_EXTENSION_FUNCTION_NAME("app.window.maximize");
|
| -
|
| - protected:
|
| - virtual ~AppWindowMaximizeFunction() {}
|
| - virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
|
| -};
|
| -
|
| -class AppWindowMinimizeFunction : public AppWindowExtensionFunction {
|
| - public:
|
| - DECLARE_EXTENSION_FUNCTION_NAME("app.window.minimize");
|
| -
|
| - protected:
|
| - virtual ~AppWindowMinimizeFunction() {}
|
| - virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
|
| -};
|
| -
|
| -class AppWindowRestoreFunction : public AppWindowExtensionFunction {
|
| - public:
|
| - DECLARE_EXTENSION_FUNCTION_NAME("app.window.restore");
|
| -
|
| - protected:
|
| - virtual ~AppWindowRestoreFunction() {}
|
| - virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
|
| -};
|
| -
|
| } // namespace extensions
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
|
|
|