OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ | 5 #ifndef CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ |
6 #define CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ | 6 #define CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ |
7 | 7 |
8 #include <cstddef> | 8 #include <cstddef> |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 namespace proto { | |
15 class DisplayItemListSettings; | |
16 } | |
17 | |
18 class CC_EXPORT DisplayItemListSettings { | 14 class CC_EXPORT DisplayItemListSettings { |
19 public: | 15 public: |
20 DisplayItemListSettings(); | 16 DisplayItemListSettings(); |
21 explicit DisplayItemListSettings(const proto::DisplayItemListSettings& proto); | |
22 ~DisplayItemListSettings(); | 17 ~DisplayItemListSettings(); |
23 | 18 |
24 void ToProtobuf(proto::DisplayItemListSettings* proto) const; | |
25 | |
26 // If set, a picture will be cached inside the DisplayItemList. | 19 // If set, a picture will be cached inside the DisplayItemList. |
27 bool use_cached_picture; | 20 bool use_cached_picture; |
28 }; | 21 }; |
29 | 22 |
30 } // namespace cc | 23 } // namespace cc |
31 | 24 |
32 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ | 25 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ |
OLD | NEW |