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

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: Nits + fix ResizeDisplay Created 4 years, 5 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 | « chromecast/base/chromecast_switches.h ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/chromecast_switches.cc
diff --git a/chromecast/base/chromecast_switches.cc b/chromecast/base/chromecast_switches.cc
index b4ffa8742cae0f9eec59b1e00c10d18781ca3354..0516c031315c22ce527b53d56a5827c978a45e79 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 kCastInitialScreenWidth[] = "cast-initial-screen-width";
+const char kCastInitialScreenHeight[] = "cast-initial-screen-height";
+
} // namespace switches
namespace chromecast {
« no previous file with comments | « chromecast/base/chromecast_switches.h ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698