// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_VIEW_SHADOW_H_ #define UI_VIEWS_VIEW_SHADOW_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "base/scoped_observation.h" #include "ui/compositor/layer_owner.h" #include "ui/views/view_observer.h" #include "ui/views/views_export.h" namespace ui { class Shadow; } namespace views { // Manages the shadow for a view. This forces |view| to paint to layer if it's // not. class VIEWS_EXPORT ViewShadow : public ViewObserver, public ui::LayerOwner::Observer { … }; } // namespace views #endif // UI_VIEWS_VIEW_SHADOW_H_