OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_OUTPUT_COPY_OUTPUT_RESULT_H_ | 5 #ifndef CC_OUTPUT_COPY_OUTPUT_RESULT_H_ |
6 #define CC_OUTPUT_COPY_OUTPUT_RESULT_H_ | 6 #define CC_OUTPUT_COPY_OUTPUT_RESULT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
12 #include "cc/resources/single_release_callback.h" | 12 #include "cc/resources/single_release_callback.h" |
13 #include "cc/resources/texture_mailbox.h" | 13 #include "cc/resources/texture_mailbox.h" |
14 #include "mojo/public/cpp/bindings/struct_traits.h" | 14 #include "mojo/public/cpp/bindings/struct_traits.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
16 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
17 | 17 |
18 class SkBitmap; | 18 class SkBitmap; |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 | 21 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 std::unique_ptr<SkBitmap> bitmap_; | 68 std::unique_ptr<SkBitmap> bitmap_; |
69 TextureMailbox texture_mailbox_; | 69 TextureMailbox texture_mailbox_; |
70 std::unique_ptr<SingleReleaseCallback> release_callback_; | 70 std::unique_ptr<SingleReleaseCallback> release_callback_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(CopyOutputResult); | 72 DISALLOW_COPY_AND_ASSIGN(CopyOutputResult); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace cc | 75 } // namespace cc |
76 | 76 |
77 #endif // CC_OUTPUT_COPY_OUTPUT_RESULT_H_ | 77 #endif // CC_OUTPUT_COPY_OUTPUT_RESULT_H_ |
OLD | NEW |