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

Unified Diff: chromeos/chromeos_switches.cc

Issue 2585633004: ozone: Allow ozone evdev/kvm features to be enabled without running on ChromeOS. (Closed)
Patch Set: only add //chromeos to deps if is_chromeos 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/chromeos_switches.cc
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
index 4a6bdfa83a9b5e0c4b8e1a5cfacb13a082c95787..b3147e339052e28be84ab34680e48bda4e523e30 100644
--- a/chromeos/chromeos_switches.cc
+++ b/chromeos/chromeos_switches.cc
@@ -418,6 +418,12 @@ const char kAttestationServer[] = "attestation-server";
// of network packets from whitelisted sources.
const char kWakeOnWifiPacket[] = "wake-on-wifi-packet";
+// Force system compositor mode when set.
+const char kEnableSystemCompositorMode[] = "enable-system-compositor-mode";
+
+// Force disabling of system compositor mode when set.
+const char kDisableSystemCompositorMode[] = "disable-system-compositor-mode";
oshima 2017/01/05 22:43:57 optional suggestion: FeatureList instead of two fl
reveman 2017/01/06 08:15:14 I changed to a single flag in latest patch as I do
+
bool WakeOnWifiEnabled() {
return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi);
}

Powered by Google App Engine
This is Rietveld 408576698