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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 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.
4
5 #include "ui/ozone/platform/dri/ozone_platform_dri.h"
6
7 #include "ui/ozone/ozone_platform.h"
8
9 namespace ui {
10
11 OzonePlatformDri::OzonePlatformDri() {}
12
13 OzonePlatformDri::~OzonePlatformDri() {}
14
15 gfx::SurfaceFactoryOzone* OzonePlatformDri::GetSurfaceFactoryOzone() {
16 return &surface_factory_ozone_;
17 }
18
19 ui::EventFactoryOzone* OzonePlatformDri::GetEventFactoryOzone() {
20 return &event_factory_ozone_;
21 }
22
23 OzonePlatform* CreateDefaultOzonePlatform() { return new OzonePlatformDri; }
24
25 } // namespace ui
OLDNEW
« 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