// Copyright 2015 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_COMPOSITOR_PAINT_CACHE_H_ #define UI_COMPOSITOR_PAINT_CACHE_H_ #include <optional> #include "cc/paint/paint_record.h" #include "ui/compositor/compositor_export.h" #include "ui/gfx/geometry/rect.h" namespace ui { class PaintContext; class PaintRecorder; // A class that holds the output of a PaintRecorder to be reused when the // object that created the PaintRecorder has not been changed/invalidated. class COMPOSITOR_EXPORT PaintCache { … }; } // namespace ui #endif // UI_COMPOSITOR_PAINT_CACHE_H_