| 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 1af11ff78985274d5b3b6415d7760e53cbff2c82..9d4c85fea83e1c2a609ba34d0ec9cb67682a69eb 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
|
| @@ -7,19 +7,17 @@
|
|
|
| #include "chrome/browser/extensions/chrome_extension_function.h"
|
|
|
| -namespace apps {
|
| -class AppWindow;
|
| -}
|
| -
|
| namespace extensions {
|
|
|
| +class AppWindow;
|
| +
|
| class AppCurrentWindowInternalExtensionFunction
|
| : public ChromeSyncExtensionFunction {
|
| protected:
|
| virtual ~AppCurrentWindowInternalExtensionFunction() {}
|
|
|
| // Invoked with the current app window.
|
| - virtual bool RunWithWindow(apps::AppWindow* window) = 0;
|
| + virtual bool RunWithWindow(AppWindow* window) = 0;
|
|
|
| private:
|
| virtual bool RunSync() OVERRIDE;
|
| @@ -33,7 +31,7 @@ class AppCurrentWindowInternalFocusFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalFocusFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalFullscreenFunction
|
| @@ -44,7 +42,7 @@ class AppCurrentWindowInternalFullscreenFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalFullscreenFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalMaximizeFunction
|
| @@ -55,7 +53,7 @@ class AppCurrentWindowInternalMaximizeFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalMaximizeFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalMinimizeFunction
|
| @@ -66,7 +64,7 @@ class AppCurrentWindowInternalMinimizeFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalMinimizeFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalRestoreFunction
|
| @@ -77,7 +75,7 @@ class AppCurrentWindowInternalRestoreFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalRestoreFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalDrawAttentionFunction
|
| @@ -88,7 +86,7 @@ class AppCurrentWindowInternalDrawAttentionFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalDrawAttentionFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalClearAttentionFunction
|
| @@ -99,7 +97,7 @@ class AppCurrentWindowInternalClearAttentionFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalClearAttentionFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalShowFunction
|
| @@ -110,7 +108,7 @@ class AppCurrentWindowInternalShowFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalShowFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalHideFunction
|
| @@ -121,7 +119,7 @@ class AppCurrentWindowInternalHideFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalHideFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalSetBoundsFunction
|
| @@ -131,7 +129,7 @@ class AppCurrentWindowInternalSetBoundsFunction
|
| APP_CURRENTWINDOWINTERNAL_SETBOUNDS)
|
| protected:
|
| virtual ~AppCurrentWindowInternalSetBoundsFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalSetSizeConstraintsFunction
|
| @@ -141,7 +139,7 @@ class AppCurrentWindowInternalSetSizeConstraintsFunction
|
| APP_CURRENTWINDOWINTERNAL_SETSIZECONSTRAINTS)
|
| protected:
|
| virtual ~AppCurrentWindowInternalSetSizeConstraintsFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalSetIconFunction
|
| @@ -152,7 +150,7 @@ class AppCurrentWindowInternalSetIconFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalSetIconFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalSetBadgeIconFunction
|
| @@ -163,7 +161,7 @@ class AppCurrentWindowInternalSetBadgeIconFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalSetBadgeIconFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalClearBadgeFunction
|
| @@ -174,7 +172,7 @@ class AppCurrentWindowInternalClearBadgeFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalClearBadgeFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalSetShapeFunction
|
| @@ -185,7 +183,7 @@ class AppCurrentWindowInternalSetShapeFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalSetShapeFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| class AppCurrentWindowInternalSetAlwaysOnTopFunction
|
| @@ -196,7 +194,7 @@ class AppCurrentWindowInternalSetAlwaysOnTopFunction
|
|
|
| protected:
|
| virtual ~AppCurrentWindowInternalSetAlwaysOnTopFunction() {}
|
| - virtual bool RunWithWindow(apps::AppWindow* window) OVERRIDE;
|
| + virtual bool RunWithWindow(AppWindow* window) OVERRIDE;
|
| };
|
|
|
| } // namespace extensions
|
|
|