| 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_REQUEST_H_ | 5 #ifndef CC_OUTPUT_COPY_OUTPUT_REQUEST_H_ |
| 6 #define CC_OUTPUT_COPY_OUTPUT_REQUEST_H_ | 6 #define CC_OUTPUT_COPY_OUTPUT_REQUEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/optional.h" | 12 #include "base/optional.h" |
| 13 #include "base/unguessable_token.h" | 13 #include "base/unguessable_token.h" |
| 14 #include "cc/base/cc_export.h" | 14 #include "cc/cc_export.h" |
| 15 #include "cc/resources/single_release_callback.h" | 15 #include "cc/resources/single_release_callback.h" |
| 16 #include "cc/resources/texture_mailbox.h" | 16 #include "cc/resources/texture_mailbox.h" |
| 17 #include "mojo/public/cpp/bindings/struct_traits.h" | 17 #include "mojo/public/cpp/bindings/struct_traits.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 19 | 19 |
| 20 class SkBitmap; | 20 class SkBitmap; |
| 21 | 21 |
| 22 namespace cc { | 22 namespace cc { |
| 23 | 23 |
| 24 namespace mojom { | 24 namespace mojom { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 base::Optional<gfx::Rect> area_; | 96 base::Optional<gfx::Rect> area_; |
| 97 base::Optional<TextureMailbox> texture_mailbox_; | 97 base::Optional<TextureMailbox> texture_mailbox_; |
| 98 CopyOutputRequestCallback result_callback_; | 98 CopyOutputRequestCallback result_callback_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(CopyOutputRequest); | 100 DISALLOW_COPY_AND_ASSIGN(CopyOutputRequest); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace cc | 103 } // namespace cc |
| 104 | 104 |
| 105 #endif // CC_OUTPUT_COPY_OUTPUT_REQUEST_H_ | 105 #endif // CC_OUTPUT_COPY_OUTPUT_REQUEST_H_ |
| OLD | NEW |