Blink roll 174234:174238
[chromium-blink-merge.git] / ui / ozone / ozone_platform_list.h
blob2689c259125cc5af453bd6ef4bf77b65b8585452
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_OZONE_OZONE_PLATFORM_LIST_H_
6 #define UI_OZONE_OZONE_PLATFORM_LIST_H_
8 namespace ui {
10 class OzonePlatform;
12 typedef OzonePlatform* (*OzonePlatformConstructor)();
14 struct OzonePlatformListEntry {
15 const char* name;
16 OzonePlatformConstructor constructor;
19 extern const OzonePlatformListEntry kOzonePlatforms[];
21 extern const int kOzonePlatformCount;
23 } // namespace ui
25 #endif // UI_OZONE_OZONE_PLATFORM_LIST_H_