| 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 |
| 14 class CC_EXPORT DisplayItemListSettings { | 18 class CC_EXPORT DisplayItemListSettings { |
| 15 public: | 19 public: |
| 16 DisplayItemListSettings(); | 20 DisplayItemListSettings(); |
| 21 explicit DisplayItemListSettings(const proto::DisplayItemListSettings& proto); |
| 17 ~DisplayItemListSettings(); | 22 ~DisplayItemListSettings(); |
| 18 | 23 |
| 24 void ToProtobuf(proto::DisplayItemListSettings* proto) const; |
| 25 |
| 19 // If set, a picture will be cached inside the DisplayItemList. | 26 // If set, a picture will be cached inside the DisplayItemList. |
| 20 bool use_cached_picture; | 27 bool use_cached_picture; |
| 21 }; | 28 }; |
| 22 | 29 |
| 23 } // namespace cc | 30 } // namespace cc |
| 24 | 31 |
| 25 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ | 32 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ |
| OLD | NEW |