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

Unified Diff: ui/ozone/platform/dri/ozone_platform_dri.cc

Issue 44933002: Implement OzonePlatform (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/platform/dri/ozone_platform_dri.h ('k') | ui/ozone/platform/test/ozone_platform_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.h ('k') | ui/ozone/platform/test/ozone_platform_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698