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

Unified Diff: headless/app/headless_shell_switches.cc

Issue 2223563002: headless: expose window size through headless_shell switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: allow 0x0 size. Created 4 years, 4 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
« no previous file with comments | « headless/app/headless_shell_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/app/headless_shell_switches.cc
diff --git a/headless/app/headless_shell_switches.cc b/headless/app/headless_shell_switches.cc
index 7cc02ddb8db60f98bef0ea79e3ee219e2311895b..c748b9b133705dcb76c49fada18e738040cac9c6 100644
--- a/headless/app/headless_shell_switches.cc
+++ b/headless/app/headless_shell_switches.cc
@@ -34,5 +34,8 @@ const char kUseGL[] = "use-gl";
// Directory where the browser stores the user profile.
const char kUserDataDir[] = "user-data-dir";
+// Sets the initial window size. Provided as string in the format "800x600".
+const char kWindowSize[] = "window-size";
+
} // namespace switches
} // namespace headless
« no previous file with comments | « headless/app/headless_shell_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698