| 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_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 
| 6 #define UI_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 6 #define UI_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 
| 7 | 7 | 
| 8 #include "base/bind.h" | 8 #include "base/bind.h" | 
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" | 
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" | 
| 11 #include "ui/gfx/overlay_transform.h" | 11 #include "ui/gfx/overlay_transform.h" | 
| 12 | 12 | 
| 13 namespace gfx { | 13 namespace gfx { | 
| 14 class Rect; | 14 class Rect; | 
| 15 class RectF; | 15 class RectF; | 
|  | 16 class Size; | 
| 16 } | 17 } | 
| 17 | 18 | 
| 18 namespace ui { | 19 namespace ui { | 
| 19 | 20 | 
| 20 // This represents a buffer that can be directly imported via GL for | 21 // This represents a buffer that can be directly imported via GL for | 
| 21 // rendering, or exported via dma-buf fds. | 22 // rendering, or exported via dma-buf fds. | 
| 22 class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> { | 23 class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> { | 
| 23  public: | 24  public: | 
| 24   NativePixmap() {} | 25   NativePixmap() {} | 
| 25 | 26 | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 58 | 59 | 
| 59  private: | 60  private: | 
| 60   friend class base::RefCountedThreadSafe<NativePixmap>; | 61   friend class base::RefCountedThreadSafe<NativePixmap>; | 
| 61 | 62 | 
| 62   DISALLOW_COPY_AND_ASSIGN(NativePixmap); | 63   DISALLOW_COPY_AND_ASSIGN(NativePixmap); | 
| 63 }; | 64 }; | 
| 64 | 65 | 
| 65 }  // namespace ui | 66 }  // namespace ui | 
| 66 | 67 | 
| 67 #endif  // UI_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 68 #endif  // UI_OZONE_PUBLIC_NATIVE_PIXMAP_H_ | 
| OLD | NEW | 
|---|