summaryrefslogtreecommitdiffstats
path: root/cc/playback/display_item_list_settings.h
blob: 9c081623b8ae66958170a0953203e415d90cd5b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_
#define CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_

#include <cstddef>

#include "cc/base/cc_export.h"

namespace cc {

namespace proto {
class DisplayItemListSettings;
}

class CC_EXPORT DisplayItemListSettings {
 public:
  DisplayItemListSettings();
  explicit DisplayItemListSettings(const proto::DisplayItemListSettings& proto);
  ~DisplayItemListSettings();

  void ToProtobuf(proto::DisplayItemListSettings* proto) const;

  // If set, a picture will be cached inside the DisplayItemList.
  bool use_cached_picture;
};

}  // namespace cc

#endif  // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_