| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/native_library.h" | 16 #include "base/native_library.h" |
| 17 #include "ui/gfx/buffer_types.h" | 17 #include "ui/gfx/buffer_types.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 19 #include "ui/gfx/native_pixmap.h" |
| 19 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
| 20 #include "ui/gfx/overlay_transform.h" | 21 #include "ui/gfx/overlay_transform.h" |
| 21 #include "ui/gl/gl_implementation.h" | 22 #include "ui/gl/gl_implementation.h" |
| 22 #include "ui/ozone/ozone_base_export.h" | 23 #include "ui/ozone/ozone_base_export.h" |
| 23 #include "ui/ozone/public/gl_ozone.h" | 24 #include "ui/ozone/public/gl_ozone.h" |
| 24 #include "ui/ozone/public/native_pixmap.h" | |
| 25 | 25 |
| 26 namespace ui { | 26 namespace ui { |
| 27 | 27 |
| 28 class NativePixmap; | 28 class NativePixmap; |
| 29 class SurfaceOzoneCanvas; | 29 class SurfaceOzoneCanvas; |
| 30 | 30 |
| 31 // The Ozone interface allows external implementations to hook into Chromium to | 31 // The Ozone interface allows external implementations to hook into Chromium to |
| 32 // provide a system specific implementation. The Ozone interface supports two | 32 // provide a system specific implementation. The Ozone interface supports two |
| 33 // drawing modes: 1) accelerated drawing using GL and 2) software drawing | 33 // drawing modes: 1) accelerated drawing using GL and 2) software drawing |
| 34 // through Skia. | 34 // through Skia. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 SurfaceFactoryOzone(); | 100 SurfaceFactoryOzone(); |
| 101 virtual ~SurfaceFactoryOzone(); | 101 virtual ~SurfaceFactoryOzone(); |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 DISALLOW_COPY_AND_ASSIGN(SurfaceFactoryOzone); | 104 DISALLOW_COPY_AND_ASSIGN(SurfaceFactoryOzone); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace ui | 107 } // namespace ui |
| 108 | 108 |
| 109 #endif // UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ | 109 #endif // UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ |
| OLD | NEW |