| 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_PUBLIC_SURFACE_OZONE_EGL_H_ | 5 #ifndef UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_ |
| 6 #define UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_ | 6 #define UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ui/gfx/overlay_transform.h" |
| 10 #include "ui/ozone/ozone_base_export.h" | 11 #include "ui/ozone/ozone_base_export.h" |
| 11 | 12 |
| 12 namespace gfx { | 13 namespace gfx { |
| 13 class Size; | 14 class Size; |
| 14 class VSyncProvider; | 15 class VSyncProvider; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace ui { | 18 namespace ui { |
| 18 class NativePixmap; | 19 class NativePixmap; |
| 19 | 20 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual bool ScheduleOverlayPlane(int plane_z_order, | 57 virtual bool ScheduleOverlayPlane(int plane_z_order, |
| 57 gfx::OverlayTransform plane_transform, | 58 gfx::OverlayTransform plane_transform, |
| 58 scoped_refptr<NativePixmap> buffer, | 59 scoped_refptr<NativePixmap> buffer, |
| 59 const gfx::Rect& display_bounds, | 60 const gfx::Rect& display_bounds, |
| 60 const gfx::RectF& crop_rect) = 0; | 61 const gfx::RectF& crop_rect) = 0; |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace ui | 64 } // namespace ui |
| 64 | 65 |
| 65 #endif // UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_ | 66 #endif // UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_ |
| OLD | NEW |