#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_WIDGET_COMPOSITING_LAYER_TREE_SETTINGS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_WIDGET_COMPOSITING_LAYER_TREE_SETTINGS_H_
#include "cc/trees/layer_tree_settings.h"
#include "third_party/blink/renderer/platform/platform_export.h"
#include "ui/gfx/geometry/size.h"
namespace blink {
PLATFORM_EXPORT cc::ManagedMemoryPolicy GetGpuMemoryPolicy(
const cc::ManagedMemoryPolicy& default_policy,
const gfx::Size& initial_screen_size,
float initial_device_scale_factor);
cc::LayerTreeSettings GenerateLayerTreeSettings(
bool has_compositor,
bool is_for_embedded_frame,
bool is_for_scalable_page,
const gfx::Size& initial_screen_size,
float initial_device_scale_factor);
}
#endif