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 110b5eb0e32e2da6f36d445acf610e57c9678d6c..806ae3b3955f74710323d578df22276bbfef72dc 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,7 +7,9 @@ |
#include "chrome/browser/extensions/extension_function.h" |
+namespace apps { |
class ShellWindow; |
+} |
namespace extensions { |
@@ -16,7 +18,7 @@ class AppCurrentWindowInternalExtensionFunction : public SyncExtensionFunction { |
virtual ~AppCurrentWindowInternalExtensionFunction() {} |
// Invoked with the current shell window. |
- virtual bool RunWithWindow(ShellWindow* window) = 0; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) = 0; |
private: |
virtual bool RunImpl() OVERRIDE; |
@@ -30,7 +32,7 @@ class AppCurrentWindowInternalFocusFunction |
protected: |
virtual ~AppCurrentWindowInternalFocusFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalFullscreenFunction |
@@ -41,7 +43,7 @@ class AppCurrentWindowInternalFullscreenFunction |
protected: |
virtual ~AppCurrentWindowInternalFullscreenFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalMaximizeFunction |
@@ -52,7 +54,7 @@ class AppCurrentWindowInternalMaximizeFunction |
protected: |
virtual ~AppCurrentWindowInternalMaximizeFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalMinimizeFunction |
@@ -63,7 +65,7 @@ class AppCurrentWindowInternalMinimizeFunction |
protected: |
virtual ~AppCurrentWindowInternalMinimizeFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalRestoreFunction |
@@ -74,7 +76,7 @@ class AppCurrentWindowInternalRestoreFunction |
protected: |
virtual ~AppCurrentWindowInternalRestoreFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalDrawAttentionFunction |
@@ -85,7 +87,7 @@ class AppCurrentWindowInternalDrawAttentionFunction |
protected: |
virtual ~AppCurrentWindowInternalDrawAttentionFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalClearAttentionFunction |
@@ -96,7 +98,7 @@ class AppCurrentWindowInternalClearAttentionFunction |
protected: |
virtual ~AppCurrentWindowInternalClearAttentionFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalShowFunction |
@@ -107,7 +109,7 @@ class AppCurrentWindowInternalShowFunction |
protected: |
virtual ~AppCurrentWindowInternalShowFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalHideFunction |
@@ -118,7 +120,7 @@ class AppCurrentWindowInternalHideFunction |
protected: |
virtual ~AppCurrentWindowInternalHideFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalSetBoundsFunction |
@@ -128,7 +130,7 @@ class AppCurrentWindowInternalSetBoundsFunction |
APP_CURRENTWINDOWINTERNAL_SETBOUNDS) |
protected: |
virtual ~AppCurrentWindowInternalSetBoundsFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
class AppCurrentWindowInternalSetIconFunction |
@@ -139,7 +141,7 @@ class AppCurrentWindowInternalSetIconFunction |
protected: |
virtual ~AppCurrentWindowInternalSetIconFunction() {} |
- virtual bool RunWithWindow(ShellWindow* window) OVERRIDE; |
+ virtual bool RunWithWindow(apps::ShellWindow* window) OVERRIDE; |
}; |
} // namespace extensions |