blob: e0ce6e236fea6cb231e11927d0e6c77e5fcab46d [file] [log] [blame]
// Copyright 2018 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.
#include "ui/wm/core/wm_core_export.h"
namespace aura {
class Window;
namespace wm {
// ShadowControllerDelegate allows a user to modify a shadow on certain windows
// differently from the normal use case.
class WM_CORE_EXPORT ShadowControllerDelegate {
ShadowControllerDelegate() = default;
virtual ~ShadowControllerDelegate() = default;
// Invoked when the shadow on |window| is to be modified, either normally from
// activation change or manually.
virtual bool ShouldShowShadowForWindow(const aura::Window* window) = 0;
} // namespace wm