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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10949023: Add switch to provide app window size on startup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 6eca948e7e5d34faa26a17bd83b950e5c5b52a4b..2d49eb272428aa0ad675723f5df30309ea1fdaf9 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -62,6 +62,11 @@ const char kAppId[] = "app-id";
// mode.
const char kApp[] = "app";
+// Specify the initial "application" mode window size: --app-window-size=w,h
sky 2012/09/19 17:20:14 Specifies the initial size for application windows
Nikita (slow) 2012/09/20 16:07:36 Done.
+// Only could be used with --app=[...] switch because extensions (--app-id)
+// define their window wounds themselves.
+const char kAppWindowSize[] = "app-window-size";
+
// A URL for the server which assigns channel ids for server pushed app
// notifications.
const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url";
« chrome/browser/ui/startup/startup_browser_creator_impl.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698