// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_BACK_FORWARD_TRANSITION_ANIMATION_MANAGER_H_ #define CONTENT_PUBLIC_BROWSER_BACK_FORWARD_TRANSITION_ANIMATION_MANAGER_H_ #include "content/common/content_export.h" #include "third_party/skia/include/core/SkBitmap.h" #include "third_party/skia/include/core/SkColor.h" #include "ui/events/back_gesture_event.h" namespace ui { class BackGestureEvent; } // namespace ui namespace content { // This class manages the back/forward page preview animation during a // back/forward session history navigation, triggered by a user gesture. // Instances of this class can not outlive the associated `WebContentsView`. The // caller of all the APIs must ensure that the associated `WebContents` is // visible and is being composited. class CONTENT_EXPORT BackForwardTransitionAnimationManager { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_BACK_FORWARD_TRANSITION_ANIMATION_MANAGER_H_