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

Unified Diff: chrome/common/extensions/extension.h

Issue 1730013: fullscreen window app launch container (Closed)
Patch Set: added tests Created 10 years, 8 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 | « chrome/browser/dom_ui/app_launcher_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index f3b4ff33f2d6ce69294e0aa16ce53e73c5792b1c..ae8566bd4526b5a0094929328fad908bae639138 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -317,6 +317,7 @@ class Extension {
const std::string& launch_local_path() const { return launch_local_path_; }
const std::string& launch_web_url() const { return launch_web_url_; }
LaunchContainer launch_container() const { return launch_container_; }
+ bool launch_fullscreen() const { return launch_fullscreen_; }
// Gets the fully resolved absolute launch URL.
GURL GetFullLaunchURL() const;
@@ -371,6 +372,8 @@ class Extension {
bool LoadWebOrigin(const DictionaryValue* manifest, std::string* error);
bool LoadWebPaths(const DictionaryValue* manifest, std::string* error);
bool LoadLaunchContainer(const DictionaryValue* manifest, std::string* error);
+ bool LoadLaunchFullscreen(const DictionaryValue* manifest,
+ std::string* error);
bool LoadLaunchURL(const DictionaryValue* manifest, std::string* error);
// Helper method to load an ExtensionAction from the page_action or
@@ -499,6 +502,9 @@ class Extension {
// The type of container to launch into.
LaunchContainer launch_container_;
+ // Launch full screen by default.
+ bool launch_fullscreen_;
+
// Cached images for this extension. This maps from the relative_path of the
// resource to the cached image.
ImageCache image_cache_;
« no previous file with comments | « chrome/browser/dom_ui/app_launcher_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698