Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / ui / ozone / public / surface_factory_ozone.cc
blobf3aa16b24b0678f2193ae7f66e59c931e7e2dda6
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.
5 #include "ui/ozone/public/surface_factory_ozone.h"
7 #include <stdlib.h>
9 #include "base/command_line.h"
10 #include "ui/ozone/public/native_pixmap.h"
11 #include "ui/ozone/public/surface_ozone_canvas.h"
12 #include "ui/ozone/public/surface_ozone_egl.h"
14 namespace ui {
16 SurfaceFactoryOzone::SurfaceFactoryOzone() {
19 SurfaceFactoryOzone::~SurfaceFactoryOzone() {
22 intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
23 return 0;
26 scoped_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget(
27 gfx::AcceleratedWidget widget) {
28 return nullptr;
31 scoped_ptr<SurfaceOzoneEGL>
32 SurfaceFactoryOzone::CreateSurfacelessEGLSurfaceForWidget(
33 gfx::AcceleratedWidget widget) {
34 return nullptr;
37 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
38 gfx::AcceleratedWidget widget) {
39 return nullptr;
42 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
43 const int32* desired_attributes) {
44 return desired_attributes;
47 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
48 gfx::AcceleratedWidget widget,
49 gfx::Size size,
50 gfx::BufferFormat format,
51 gfx::BufferUsage usage) {
52 return NULL;
55 } // namespace ui