#include "cc/layers/surface_layer.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/trace_event/trace_event.h"
#include "cc/layers/surface_layer_impl.h"
#include "cc/trees/layer_tree_host.h"
namespace cc {
scoped_refptr<SurfaceLayer> SurfaceLayer::Create() { … }
scoped_refptr<SurfaceLayer> SurfaceLayer::Create(
UpdateSubmissionStateCB update_submission_state_callback) { … }
SurfaceLayer::SurfaceLayer()
: … { … }
SurfaceLayer::SurfaceLayer(
UpdateSubmissionStateCB update_submission_state_callback)
: … { … }
SurfaceLayer::~SurfaceLayer() { … }
void SurfaceLayer::SetSurfaceId(const viz::SurfaceId& surface_id,
const DeadlinePolicy& deadline_policy) { … }
void SurfaceLayer::SetOldestAcceptableFallback(
const viz::SurfaceId& surface_id) { … }
void SurfaceLayer::SetStretchContentToFillBounds(
bool stretch_content_to_fill_bounds) { … }
void SurfaceLayer::SetSurfaceHitTestable(bool surface_hit_testable) { … }
void SurfaceLayer::SetHasPointerEventsNone(bool has_pointer_events_none) { … }
void SurfaceLayer::SetIsReflection(bool is_reflection) { … }
void SurfaceLayer::SetMayContainVideo(bool may_contain_video) { … }
std::unique_ptr<LayerImpl> SurfaceLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
bool SurfaceLayer::HasDrawableContent() const { … }
void SurfaceLayer::SetLayerTreeHost(LayerTreeHost* host) { … }
void SurfaceLayer::PushPropertiesTo(
LayerImpl* layer,
const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state) { … }
}