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

Side by Side Diff: content/shell/common/shell_switches.cc

Issue 783203002: Add --content-shell-host-window-size switch to control the window size for content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename commandline switch as per review comments Created 6 years 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
« no previous file with comments | « content/shell/common/shell_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 "content/shell/common/shell_switches.h" 5 #include "content/shell/common/shell_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Allow access to external pages during layout tests. 9 // Allow access to external pages during layout tests.
10 const char kAllowExternalPages[] = "allow-external-pages"; 10 const char kAllowExternalPages[] = "allow-external-pages";
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // %WINDIR%\Fonts location). Multiple files can be used by separating them 52 // %WINDIR%\Fonts location). Multiple files can be used by separating them
53 // with a semicolon (;). 53 // with a semicolon (;).
54 const char kRegisterFontFiles[] = "register-font-files"; 54 const char kRegisterFontFiles[] = "register-font-files";
55 55
56 // This makes us disable some web-platform runtime features so that we test 56 // This makes us disable some web-platform runtime features so that we test
57 // content_shell as if it was a stable release. It is only followed when 57 // content_shell as if it was a stable release. It is only followed when
58 // kDumpRenderTree is set. For the features' level, see 58 // kDumpRenderTree is set. For the features' level, see
59 // http://dev.chromium.org/blink/runtime-enabled-features. 59 // http://dev.chromium.org/blink/runtime-enabled-features.
60 const char kStableReleaseMode[] = "stable-release-mode"; 60 const char kStableReleaseMode[] = "stable-release-mode";
61 61
62 // Size for the content_shell's host window (i.e. "800x600").
63 const char kContentShellHostWindowSize[] = "content-shell-host-window-size";
64
62 } // namespace switches 65 } // namespace switches
OLDNEW
« no previous file with comments | « content/shell/common/shell_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698