OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ImageLayerBridge_h | 5 #ifndef ImageLayerBridge_h |
6 #define ImageLayerBridge_h | 6 #define ImageLayerBridge_h |
7 | 7 |
8 #include "cc/layers/texture_layer_client.h" | 8 #include "cc/layers/texture_layer_client.h" |
9 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
10 #include "platform/graphics/StaticBitmapImage.h" | 10 #include "platform/graphics/StaticBitmapImage.h" |
11 #include "platform/heap/Heap.h" | 11 #include "platform/heap/Heap.h" |
12 #include "wtf/WeakPtr.h" | 12 #include "platform/wtf/WeakPtr.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 class SharedBitmap; | 15 class SharedBitmap; |
16 } | 16 } |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 class WebLayer; | 20 class WebLayer; |
21 class WebExternalTextureLayer; | 21 class WebExternalTextureLayer; |
22 | 22 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 Vector<RecycledBitmap> recycled_bitmaps_; | 75 Vector<RecycledBitmap> recycled_bitmaps_; |
76 | 76 |
77 bool disposed_ = false; | 77 bool disposed_ = false; |
78 bool has_presented_since_last_set_image_ = false; | 78 bool has_presented_since_last_set_image_ = false; |
79 OpacityMode opacity_mode_ = kNonOpaque; | 79 OpacityMode opacity_mode_ = kNonOpaque; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif | 84 #endif |
OLD | NEW |