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

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: remove hack 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Specifies the initial size for application windows launched with --app.
66 // --app-window-size=w,h
67 const char kAppWindowSize[] = "app-window-size";
68
65 // A URL for the server which assigns channel ids for server pushed app 69 // A URL for the server which assigns channel ids for server pushed app
66 // notifications. 70 // notifications.
67 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; 71 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url";
68 72
69 // Overrides the apps checkout URL, which is used to determine when to expose 73 // Overrides the apps checkout URL, which is used to determine when to expose
70 // some private APIs. 74 // some private APIs.
71 const char kAppsCheckoutURL[] = "apps-checkout-url"; 75 const char kAppsCheckoutURL[] = "apps-checkout-url";
72 76
73 // The URL that the webstore APIs download extensions from. 77 // The URL that the webstore APIs download extensions from.
74 // Note: the URL must contain one '%s' for the extension ID. 78 // Note: the URL must contain one '%s' for the extension ID.
(...skipping 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 1583
1580 // ----------------------------------------------------------------------------- 1584 // -----------------------------------------------------------------------------
1581 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1585 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1582 // 1586 //
1583 // You were going to just dump your switches here, weren't you? Instead, please 1587 // You were going to just dump your switches here, weren't you? Instead, please
1584 // put them in alphabetical order above, or in order inside the appropriate 1588 // put them in alphabetical order above, or in order inside the appropriate
1585 // ifdef at the bottom. The order should match the header. 1589 // ifdef at the bottom. The order should match the header.
1586 // ----------------------------------------------------------------------------- 1590 // -----------------------------------------------------------------------------
1587 1591
1588 } // namespace switches 1592 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698