| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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/public/surface_factory_ozone.h" | 5 #include "ui/ozone/public/surface_factory_ozone.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "ui/gfx/native_pixmap.h" | 10 #include "ui/gfx/native_pixmap.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( | 28 std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( |
| 29 gfx::AcceleratedWidget widget) { | 29 gfx::AcceleratedWidget widget) { |
| 30 return nullptr; | 30 return nullptr; |
| 31 } | 31 } |
| 32 | 32 |
| 33 std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats( | 33 std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats( |
| 34 gfx::AcceleratedWidget widget) { | 34 gfx::AcceleratedWidget widget) { |
| 35 return std::vector<gfx::BufferFormat>(); | 35 return std::vector<gfx::BufferFormat>(); |
| 36 } | 36 } |
| 37 | 37 |
| 38 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( | 38 scoped_refptr<gfx::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( |
| 39 gfx::AcceleratedWidget widget, | 39 gfx::AcceleratedWidget widget, |
| 40 gfx::Size size, | 40 gfx::Size size, |
| 41 gfx::BufferFormat format, | 41 gfx::BufferFormat format, |
| 42 gfx::BufferUsage usage) { | 42 gfx::BufferUsage usage) { |
| 43 return nullptr; | 43 return nullptr; |
| 44 } | 44 } |
| 45 | 45 |
| 46 scoped_refptr<ui::NativePixmap> | 46 scoped_refptr<gfx::NativePixmap> |
| 47 SurfaceFactoryOzone::CreateNativePixmapFromHandle( | 47 SurfaceFactoryOzone::CreateNativePixmapFromHandle( |
| 48 gfx::AcceleratedWidget widget, | 48 gfx::AcceleratedWidget widget, |
| 49 gfx::Size size, | 49 gfx::Size size, |
| 50 gfx::BufferFormat format, | 50 gfx::BufferFormat format, |
| 51 const gfx::NativePixmapHandle& handle) { | 51 const gfx::NativePixmapHandle& handle) { |
| 52 return nullptr; | 52 return nullptr; |
| 53 } | 53 } |
| 54 | 54 |
| 55 } // namespace ui | 55 } // namespace ui |
| OLD | NEW |