Index: ui/base/ozone/platform/dri/ozone_platform_dri.cc |
diff --git a/ui/base/ozone/platform/dri/ozone_platform_dri.cc b/ui/base/ozone/platform/dri/ozone_platform_dri.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..58c0398895b101a015d60b8d5b5ff611337ef8ca |
--- /dev/null |
+++ b/ui/base/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/base/ozone/platform/dri/ozone_platform_dri.h" |
+ |
+#include "ui/base/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 |