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

Unified Diff: chromecast/base/chromecast_switches.cc

Issue 2119583002: [Chromecast] Set Cast Ozone display size correctly first time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: chromecast/base/chromecast_switches.cc
diff --git a/chromecast/base/chromecast_switches.cc b/chromecast/base/chromecast_switches.cc
index b4ffa8742cae0f9eec59b1e00c10d18781ca3354..fe783746c61b579b79823feea16ce229e64765a3 100644
--- a/chromecast/base/chromecast_switches.cc
+++ b/chromecast/base/chromecast_switches.cc
@@ -78,6 +78,11 @@ const char kAlsaFixedOutputSampleRate[] = "alsa-fixed-output-sample-rate";
// purely on free memory will be used.
const char kMemPressureSystemReservedKb[] = "mem-pressure-system-reserved-kb";
+// Used to pass initial screen resolution to GPU process. This allows us to set
+// screen size correctly (so no need to resize when first window is created).
+const char kInitialScreenWidth[] = "cast-initial-screen-width";
alokp 2016/07/06 16:58:44 should this be name kCastInitialScreenWidth?
halliwell 2016/07/07 20:07:13 Done.
+const char kInitialScreenHeight[] = "cast-initial-screen-height";
+
} // namespace switches
namespace chromecast {

Powered by Google App Engine
This is Rietveld 408576698