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 2814043002: [headless] Add command line flag for default background color. (Closed)
Patch Set: Created 3 years, 8 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 c76c6f5422a985a1620660914614ae025cdb6cf7..86ced8127b5fb7f3ad8e6ae82d8e9f439b041573 100644
--- a/headless/app/headless_shell_switches.cc
+++ b/headless/app/headless_shell_switches.cc
@@ -7,6 +7,11 @@
namespace headless {
namespace switches {
+// The background color to be used if the page doesn't specify one. Provided as
+// RGBA integer value in hex, e.g. 'ff0000ff' for red or '00000000' for
+// transparent.
+const char kDefaultBackgroundColor[] = "default-background-color";
+
// The directory breakpad should store minidumps in.
const char kCrashDumpsDir[] = "crash-dumps-dir";
@@ -49,6 +54,9 @@ const char kTimeout[] = "timeout";
// rendering.
const char kUseGL[] = "use-gl";
+// A string used to override the default user agent with a custom one.
+const char kUserAgent[] = "user-agent";
+
// Directory where the browser stores the user profile.
const char kUserDataDir[] = "user-data-dir";
@@ -63,8 +71,5 @@ const char kVirtualTimeBudget[] = "virtual-time-budget";
// Sets the initial window size. Provided as string in the format "800,600".
const char kWindowSize[] = "window-size";
-// A string used to override the default user agent with a custom one.
-const char kUserAgent[] = "user-agent";
-
} // 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