chromium/ui/compositor_extra/shadow.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/compositor_extra/shadow.h"

#include "ui/base/resource/resource_bundle.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/scoped_layer_animation_settings.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/shadow_util.h"

namespace ui {

namespace {

// Duration for opacity animation in milliseconds.
constexpr int kShadowAnimationDurationMs =;

}  // namespace

Shadow::Shadow() :{}

Shadow::~Shadow() = default;

void Shadow::Init(int elevation) {}

void Shadow::SetContentBounds(const gfx::Rect& content_bounds) {}

void Shadow::SetElevation(int elevation) {}

void Shadow::SetRoundedCornerRadius(int rounded_corner_radius) {}

void Shadow::SetShadowStyle(gfx::ShadowStyle style) {}

void Shadow::SetElevationToColorsMap(const ElevationToColorsMap& color_map) {}

void Shadow::OnImplicitAnimationsCompleted() {}

// -----------------------------------------------------------------------------
// Shadow::ShadowLayerOwner:

Shadow::ShadowLayerOwner::ShadowLayerOwner(Shadow* owner,
                                           std::unique_ptr<Layer> layer)
    :{}

Shadow::ShadowLayerOwner::~ShadowLayerOwner() = default;

std::unique_ptr<Layer> Shadow::ShadowLayerOwner::RecreateLayer() {}

// -----------------------------------------------------------------------------
// Shadow:

void Shadow::RecreateShadowLayer() {}

void Shadow::UpdateShadowAppearance() {}

}  // namespace ui