blob: 277a2ea8da974574cf80b6c776bec7e2be8917a1 (
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
|
// 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 {
class CC_EXPORT DisplayItemListSettings {
public:
DisplayItemListSettings();
~DisplayItemListSettings();
// If set, a picture will be cached inside the DisplayItemList.
bool use_cached_picture;
// Settings that control sidecar data.
size_t max_sidecar_size;
void (*sidecar_destroyer)(void* sidecar);
};
} // namespace cc
#endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_
|