Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Side by Side Diff: cc/output/copy_output_result.h

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/base/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 "third_party/skia/include/core/SkBitmap.h"
14 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
15 16
16 class SkBitmap;
17
18 namespace cc { 17 namespace cc {
19 class TextureMailbox; 18 class TextureMailbox;
20 19
21 class CC_EXPORT CopyOutputResult { 20 class CC_EXPORT CopyOutputResult {
22 public: 21 public:
23 static std::unique_ptr<CopyOutputResult> CreateEmptyResult() { 22 static std::unique_ptr<CopyOutputResult> CreateEmptyResult() {
24 return base::WrapUnique(new CopyOutputResult); 23 return base::WrapUnique(new CopyOutputResult);
25 } 24 }
26 static std::unique_ptr<CopyOutputResult> CreateBitmapResult( 25 static std::unique_ptr<CopyOutputResult> CreateBitmapResult(
27 std::unique_ptr<SkBitmap> bitmap) { 26 std::unique_ptr<SkBitmap> bitmap) {
(...skipping 28 matching lines...) Expand all
56 55
57 gfx::Size size_; 56 gfx::Size size_;
58 std::unique_ptr<SkBitmap> bitmap_; 57 std::unique_ptr<SkBitmap> bitmap_;
59 TextureMailbox texture_mailbox_; 58 TextureMailbox texture_mailbox_;
60 std::unique_ptr<SingleReleaseCallback> release_callback_; 59 std::unique_ptr<SingleReleaseCallback> release_callback_;
61 }; 60 };
62 61
63 } // namespace cc 62 } // namespace cc
64 63
65 #endif // CC_OUTPUT_COPY_OUTPUT_RESULT_H_ 64 #endif // CC_OUTPUT_COPY_OUTPUT_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698