| 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_NATIVE_PIXMAP_H_ | 5 #ifndef UI_GFX_NATIVE_PIXMAP_H_ |
| 6 #define UI_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 6 #define UI_GFX_NATIVE_PIXMAP_H_ |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "ui/gfx/buffer_types.h" | 11 #include "ui/gfx/buffer_types.h" |
| 12 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/gfx/native_pixmap_handle.h" | 13 #include "ui/gfx/native_pixmap_handle.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 | 16 |
| 16 namespace gfx { | 17 namespace gfx { |
| 17 class Rect; | 18 class Rect; |
| 18 class RectF; | 19 class RectF; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace ui { | 22 namespace ui { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 virtual ~NativePixmap() {} | 72 virtual ~NativePixmap() {} |
| 72 | 73 |
| 73 private: | 74 private: |
| 74 friend class base::RefCountedThreadSafe<NativePixmap>; | 75 friend class base::RefCountedThreadSafe<NativePixmap>; |
| 75 | 76 |
| 76 DISALLOW_COPY_AND_ASSIGN(NativePixmap); | 77 DISALLOW_COPY_AND_ASSIGN(NativePixmap); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace ui | 80 } // namespace ui |
| 80 | 81 |
| 81 #endif // UI_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 82 #endif // UI_GFX_NATIVE_PIXMAP_H_ |
| OLD | NEW |