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

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

Issue 11147037: Add a 'hidden' option to chrome.app.window.create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ash tests Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 da0e359635dfb069a7fadf11e4bb4b27cd809476..26aafcd0894252b5930de327bc8f7cabf2712df2 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
@@ -82,6 +82,26 @@ class AppCurrentWindowInternalClearAttentionFunction
virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
};
+class AppCurrentWindowInternalShowFunction
+ : public AppCurrentWindowInternalExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME("app.currentWindowInternal.show");
+
+ protected:
+ virtual ~AppCurrentWindowInternalShowFunction() {}
+ virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
+};
+
+class AppCurrentWindowInternalHideFunction
+ : public AppCurrentWindowInternalExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION_NAME("app.currentWindowInternal.hide");
+
+ protected:
+ virtual ~AppCurrentWindowInternalHideFunction() {}
+ virtual bool RunWithWindow(ShellWindow* window) OVERRIDE;
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_APP_CURRENT_WINDOW_INTERNAL_APP_CURRENT_WINDOW_INTERNAL_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698