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 #ifndef UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ | 5 #ifndef UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ |
6 #define UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ | 6 #define UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/native_library.h" | 10 #include "base/native_library.h" |
11 #include "ui/gfx/geometry/point.h" | 11 #include "ui/gfx/geometry/point.h" |
12 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
| 13 #include "ui/gfx/geometry/rect.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/gfx/overlay_transform.h" | 15 #include "ui/gfx/overlay_transform.h" |
15 #include "ui/gfx/rect.h" | |
16 #include "ui/ozone/ozone_base_export.h" | 16 #include "ui/ozone/ozone_base_export.h" |
17 | 17 |
18 class SkBitmap; | 18 class SkBitmap; |
19 class SkCanvas; | 19 class SkCanvas; |
20 | 20 |
21 namespace ui { | 21 namespace ui { |
22 | 22 |
23 class NativePixmap; | 23 class NativePixmap; |
24 class OverlayCandidatesOzone; | 24 class OverlayCandidatesOzone; |
25 class SurfaceOzoneCanvas; | 25 class SurfaceOzoneCanvas; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // such as MAP for zero copy or SCANOUT for display controller. | 166 // such as MAP for zero copy or SCANOUT for display controller. |
167 virtual bool CanCreateNativePixmap(BufferUsage usage); | 167 virtual bool CanCreateNativePixmap(BufferUsage usage); |
168 | 168 |
169 private: | 169 private: |
170 static SurfaceFactoryOzone* impl_; // not owned | 170 static SurfaceFactoryOzone* impl_; // not owned |
171 }; | 171 }; |
172 | 172 |
173 } // namespace ui | 173 } // namespace ui |
174 | 174 |
175 #endif // UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ | 175 #endif // UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ |
OLD | NEW |