Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2177)

Unified Diff: chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h

Issue 13609003: fullscreen in apps v2 ShellWindow via app.window.create. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 83cff7f5558f7c0883808f618b3010870a5c7cc2..110b5eb0e32e2da6f36d445acf610e57c9678d6c 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
@@ -33,6 +33,17 @@ class AppCurrentWindowInternalFocusFunction
virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
};
+class AppCurrentWindowInternalFullscreenFunction
+ : public AppCurrentWindowInternalExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("app.currentWindowInternal.fullscreen",
+ APP_CURRENTWINDOWINTERNAL_FULLSCREEN)
+
+ protected:
+ virtual ~AppCurrentWindowInternalFullscreenFunction() {}
+ virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
+};
+
class AppCurrentWindowInternalMaximizeFunction
: public AppCurrentWindowInternalExtensionFunction {
public:

Powered by Google App Engine
This is Rietveld 408576698