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

Side by Side Diff: headless/app/headless_shell_switches.cc

Issue 2622773003: headless: Allow both WW,HH and WWxHH forms for specifying window size (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « headless/app/headless_shell.cc ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "headless/app/headless_shell_switches.h" 5 #include "headless/app/headless_shell_switches.h"
6 6
7 namespace headless { 7 namespace headless {
8 namespace switches { 8 namespace switches {
9 9
10 // Instructs headless_shell to cause network fetches to complete in order of 10 // Instructs headless_shell to cause network fetches to complete in order of
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const char kUserDataDir[] = "user-data-dir"; 47 const char kUserDataDir[] = "user-data-dir";
48 48
49 // If set the system waits the specified number of virtual milliseconds before 49 // If set the system waits the specified number of virtual milliseconds before
50 // deeming the page to be ready. For determinism virtual time does not advance 50 // deeming the page to be ready. For determinism virtual time does not advance
51 // while there are pending network fetches (i.e no timers will fire). Once all 51 // while there are pending network fetches (i.e no timers will fire). Once all
52 // network fetches have completed, timers fire and if the system runs out of 52 // network fetches have completed, timers fire and if the system runs out of
53 // virtual time is fastforwarded so the next timer fires immediatley, until the 53 // virtual time is fastforwarded so the next timer fires immediatley, until the
54 // specified virtual time budget is exhausted. 54 // specified virtual time budget is exhausted.
55 const char kVirtualTimeBudget[] = "virtual-time-budget"; 55 const char kVirtualTimeBudget[] = "virtual-time-budget";
56 56
57 // Sets the initial window size. Provided as string in the format "800x600". 57 // Sets the initial window size. Provided as string in the format "800,600".
58 const char kWindowSize[] = "window-size"; 58 const char kWindowSize[] = "window-size";
59 59
60 } // namespace switches 60 } // namespace switches
61 } // namespace headless 61 } // namespace headless
OLDNEW
« no previous file with comments | « headless/app/headless_shell.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698