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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; 55 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins";
56 56
57 // Specifies that the extension-app with the specified id should be launched 57 // Specifies that the extension-app with the specified id should be launched
58 // according to its configuration. 58 // according to its configuration.
59 const char kAppId[] = "app-id"; 59 const char kAppId[] = "app-id";
60 60
61 // Specifies that the associated value should be launched in "application" 61 // Specifies that the associated value should be launched in "application"
62 // mode. 62 // mode.
63 const char kApp[] = "app"; 63 const char kApp[] = "app";
64 64
65 // 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.
66 // Only could be used with --app=[...] switch because extensions (--app-id)
67 // define their window wounds themselves.
68 const char kAppWindowSize[] = "app-window-size";
69
65 // A URL for the server which assigns channel ids for server pushed app 70 // A URL for the server which assigns channel ids for server pushed app
66 // notifications. 71 // notifications.
67 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; 72 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url";
68 73
69 // Overrides the apps checkout URL, which is used to determine when to expose 74 // Overrides the apps checkout URL, which is used to determine when to expose
70 // some private APIs. 75 // some private APIs.
71 const char kAppsCheckoutURL[] = "apps-checkout-url"; 76 const char kAppsCheckoutURL[] = "apps-checkout-url";
72 77
73 // The URL that the webstore APIs download extensions from. 78 // The URL that the webstore APIs download extensions from.
74 // Note: the URL must contain one '%s' for the extension ID. 79 // Note: the URL must contain one '%s' for the extension ID.
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 1580
1576 // ----------------------------------------------------------------------------- 1581 // -----------------------------------------------------------------------------
1577 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1582 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1578 // 1583 //
1579 // You were going to just dump your switches here, weren't you? Instead, please 1584 // You were going to just dump your switches here, weren't you? Instead, please
1580 // put them in alphabetical order above, or in order inside the appropriate 1585 // put them in alphabetical order above, or in order inside the appropriate
1581 // ifdef at the bottom. The order should match the header. 1586 // ifdef at the bottom. The order should match the header.
1582 // ----------------------------------------------------------------------------- 1587 // -----------------------------------------------------------------------------
1583 1588
1584 } // namespace switches 1589 } // namespace switches
OLDNEW
« 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