Index: ui/ozone/platform/dri/ozone_platform_dri.cc |
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.cc b/ui/ozone/platform/dri/ozone_platform_dri.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..21d0d2757219452182d0dedd078d5b40aea8fc04 |
--- /dev/null |
+++ b/ui/ozone/platform/dri/ozone_platform_dri.cc |
@@ -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. |
+ |
+#include "ui/ozone/platform/dri/ozone_platform_dri.h" |
+ |
+#include "ui/ozone/ozone_platform.h" |
+ |
+namespace ui { |
+ |
+OzonePlatformDri::OzonePlatformDri() {} |
+ |
+OzonePlatformDri::~OzonePlatformDri() {} |
+ |
+gfx::SurfaceFactoryOzone* OzonePlatformDri::GetSurfaceFactoryOzone() { |
+ return &surface_factory_ozone_; |
+} |
+ |
+ui::EventFactoryOzone* OzonePlatformDri::GetEventFactoryOzone() { |
+ return &event_factory_ozone_; |
+} |
+ |
+OzonePlatform* CreateDefaultOzonePlatform() { return new OzonePlatformDri; } |
+ |
+} // namespace ui |