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

Unified Diff: chromeos/system/devicemode.h

Issue 2585633004: ozone: Allow ozone evdev/kvm features to be enabled without running on ChromeOS. (Closed)
Patch Set: rebase 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
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | chromeos/system/devicemode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/devicemode.h
diff --git a/chromeos/system/devicemode.h b/chromeos/system/devicemode.h
new file mode 100644
index 0000000000000000000000000000000000000000..edc379935c2f322bb8be349b34635a692a06783e
--- /dev/null
+++ b/chromeos/system/devicemode.h
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_SYSTEM_DEVICEMODE_H_
+#define CHROMEOS_SYSTEM_DEVICEMODE_H_
+
+#include "chromeos/chromeos_export.h"
+
+namespace chromeos {
+
+// Returns true when running as system compositor. Ie. using libudev, kms and
+// evdev for input and output.
+CHROMEOS_EXPORT bool IsRunningAsSystemCompositor();
+
+} // namespace chromeos
+
+#endif // CHROMEOS_SYSTEM_DEVICEMODE_H_
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | chromeos/system/devicemode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698