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

Unified Diff: ui/ozone/ozone_platform_list.h

Issue 44053005: Implement --ozone-platform flag to select OzonePlatform implementation at runtime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 2 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 | « ui/ozone/ozone_platform.cc ('k') | ui/ozone/ozone_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone_platform_list.h
diff --git a/ui/ozone/ozone_platform_list.h b/ui/ozone/ozone_platform_list.h
new file mode 100644
index 0000000000000000000000000000000000000000..bac8d9664fa1370fd7b81fc395194a75e14a7eb1
--- /dev/null
+++ b/ui/ozone/ozone_platform_list.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2013 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 UI_OZONE_OZONE_PLATFORM_LIST_H_
+#define UI_OZONE_OZONE_PLATFORM_LIST_H_
+
+namespace ui {
+
+class OzonePlatform;
+
+typedef OzonePlatform* (*OzonePlatformConstructor)();
+
+struct OzonePlatformListEntry {
+ const char* name;
+ OzonePlatformConstructor constructor;
+};
+
+extern const OzonePlatformListEntry kOzonePlatforms[];
+
+extern const int kOzonePlatformCount;
+
+} // namespace ui
+
+#endif // UI_OZONE_OZONE_PLATFORM_LIST_H_
« no previous file with comments | « ui/ozone/ozone_platform.cc ('k') | ui/ozone/ozone_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698