| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "ui/gfx/buffer_types.h" | 9 #include "ui/gfx/buffer_types.h" |
| 11 #include "ui/gfx/geometry/size.h" | 10 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/ozone/platform/drm/gpu/gbm_buffer_base.h" | 11 #include "ui/ozone/platform/drm/gpu/gbm_buffer_base.h" |
| 13 #include "ui/ozone/public/native_pixmap.h" | 12 #include "ui/ozone/public/native_pixmap.h" |
| 14 | 13 |
| 15 struct gbm_bo; | 14 struct gbm_bo; |
| 16 | 15 |
| 17 namespace ui { | 16 namespace ui { |
| 18 | 17 |
| 19 class GbmDevice; | 18 class GbmDevice; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 GbmSurfaceFactory* surface_manager_; | 71 GbmSurfaceFactory* surface_manager_; |
| 73 | 72 |
| 74 ScalingCallback scaling_callback_; | 73 ScalingCallback scaling_callback_; |
| 75 | 74 |
| 76 DISALLOW_COPY_AND_ASSIGN(GbmPixmap); | 75 DISALLOW_COPY_AND_ASSIGN(GbmPixmap); |
| 77 }; | 76 }; |
| 78 | 77 |
| 79 } // namespace ui | 78 } // namespace ui |
| 80 | 79 |
| 81 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ | 80 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ |
| OLD | NEW |