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

Side by Side Diff: ui/ozone/platform/gbm/ozone_platform_gbm.cc

Issue 106633002: GBM Ozone implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/platform/dri/ozone_platform_dri.h" 5 #include "ui/ozone/platform/gbm/ozone_platform_gbm.h"
6 6
7 #include "ui/ozone/ozone_platform.h" 7 #include "ui/ozone/ozone_platform.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
11 OzonePlatformDri::OzonePlatformDri() {} 11 OzonePlatformGbm::OzonePlatformGbm() {}
12 12
13 OzonePlatformDri::~OzonePlatformDri() {} 13 OzonePlatformGbm::~OzonePlatformGbm() {}
14 14
15 gfx::SurfaceFactoryOzone* OzonePlatformDri::GetSurfaceFactoryOzone() { 15 gfx::SurfaceFactoryOzone* OzonePlatformGbm::GetSurfaceFactoryOzone() {
16 return &surface_factory_ozone_; 16 return &surface_factory_ozone_;
17 } 17 }
18 18
19 ui::EventFactoryOzone* OzonePlatformDri::GetEventFactoryOzone() { 19 ui::EventFactoryOzone* OzonePlatformGbm::GetEventFactoryOzone() {
20 return &event_factory_ozone_; 20 return &event_factory_ozone_;
21 } 21 }
22 22
23 ui::InputMethodContextFactoryOzone* 23 ui::InputMethodContextFactoryOzone*
24 OzonePlatformDri::GetInputMethodContextFactoryOzone() { 24 OzonePlatformGbm::GetInputMethodContextFactoryOzone() {
25 return &input_method_context_factory_ozone_; 25 return &input_method_context_factory_ozone_;
26 } 26 }
27 27
28 OzonePlatform* CreateOzonePlatformDri() { return new OzonePlatformDri; } 28 OzonePlatform* CreateOzonePlatformGbm() { return new OzonePlatformGbm; }
29 29
30 } // namespace ui 30 } // namespace ui
OLDNEW
« third_party/mesa/mesa.gyp ('K') | « ui/ozone/platform/gbm/ozone_platform_gbm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698