// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PAINT_PREVIEW_PUBLIC_PAINT_PREVIEW_COMPOSITOR_CLIENT_H_ #define COMPONENTS_PAINT_PREVIEW_PUBLIC_PAINT_PREVIEW_COMPOSITOR_CLIENT_H_ #include <optional> #include "base/functional/callback_forward.h" #include "base/unguessable_token.h" #include "components/services/paint_preview_compositor/public/mojom/paint_preview_compositor.mojom.h" #include "url/gurl.h" namespace gfx { class Rect; } // namespace gfx namespace paint_preview { // An instance of a paint preview compositor that is running in a utility // process service. The class' lifetime is tied to that of the compositor // running in the utility process (unless there is some kind of IPC disconnect // that occurs). class PaintPreviewCompositorClient { … }; } // namespace paint_preview #endif // COMPONENTS_PAINT_PREVIEW_PUBLIC_PAINT_PREVIEW_COMPOSITOR_CLIENT_H_