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/ozone/public/native_pixmap.h" | 10 #include "ui/ozone/public/native_pixmap.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 scoped_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget( | 38 scoped_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget( |
39 gfx::AcceleratedWidget widget) { | 39 gfx::AcceleratedWidget widget) { |
40 NOTIMPLEMENTED(); | 40 NOTIMPLEMENTED(); |
41 return scoped_ptr<SurfaceOzoneEGL>(); | 41 return scoped_ptr<SurfaceOzoneEGL>(); |
42 } | 42 } |
43 | 43 |
44 scoped_ptr<SurfaceOzoneEGL> | 44 scoped_ptr<SurfaceOzoneEGL> |
45 SurfaceFactoryOzone::CreateSurfacelessEGLSurfaceForWidget( | 45 SurfaceFactoryOzone::CreateSurfacelessEGLSurfaceForWidget( |
46 gfx::AcceleratedWidget widget) { | 46 gfx::AcceleratedWidget widget) { |
47 NOTIMPLEMENTED(); | 47 NOTIMPLEMENTED(); |
48 return scoped_ptr<SurfaceOzoneCanvas>(); | 48 return scoped_ptr<SurfaceOzoneEGL>(); |
49 } | 49 } |
50 | 50 |
51 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( | 51 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( |
52 gfx::AcceleratedWidget widget) { | 52 gfx::AcceleratedWidget widget) { |
53 NOTIMPLEMENTED(); | 53 NOTIMPLEMENTED(); |
54 return scoped_ptr<SurfaceOzoneCanvas>(); | 54 return scoped_ptr<SurfaceOzoneCanvas>(); |
55 } | 55 } |
56 | 56 |
57 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties( | 57 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties( |
58 const int32* desired_attributes) { | 58 const int32* desired_attributes) { |
(...skipping 18 matching lines...) Expand all Loading... |
77 scoped_refptr<NativePixmap> buffer, | 77 scoped_refptr<NativePixmap> buffer, |
78 const gfx::Rect& display_bounds, | 78 const gfx::Rect& display_bounds, |
79 const gfx::RectF& crop_rect) { | 79 const gfx::RectF& crop_rect) { |
80 return false; | 80 return false; |
81 } | 81 } |
82 | 82 |
83 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { | 83 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { |
84 return false; | 84 return false; |
85 } | 85 } |
86 } // namespace ui | 86 } // namespace ui |
OLD | NEW |