| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CLIENT_NATIVE_PIXMAP_FACTORY_H_ | 5 #ifndef UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_H_ |
| 6 #define UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_H_ | 6 #define UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/files/scoped_file.h" | 11 #include "base/files/scoped_file.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "ui/gfx/buffer_types.h" | 13 #include "ui/gfx/buffer_types.h" |
| 14 #include "ui/gfx/client_native_pixmap.h" |
| 14 #include "ui/ozone/ozone_export.h" | 15 #include "ui/ozone/ozone_export.h" |
| 15 #include "ui/ozone/public/client_native_pixmap.h" | |
| 16 | 16 |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 struct NativePixmapHandle; | 18 struct NativePixmapHandle; |
| 19 class Size; | 19 class Size; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace ui { | 22 namespace ui { |
| 23 | 23 |
| 24 // The Ozone interface allows external implementations to hook into Chromium to | 24 // The Ozone interface allows external implementations to hook into Chromium to |
| 25 // provide a client pixmap for non-GPU processes. | 25 // provide a client pixmap for non-GPU processes. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 47 protected: | 47 protected: |
| 48 ClientNativePixmapFactory(); | 48 ClientNativePixmapFactory(); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactory); | 51 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactory); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace ui | 54 } // namespace ui |
| 55 | 55 |
| 56 #endif // UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_H_ | 56 #endif // UI_OZONE_PUBLIC_CLIENT_NATIVE_PIXMAP_FACTORY_H_ |
| OLD | NEW |