// 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_RECORDER_H_ #define UI_COMPOSITOR_PAINT_RECORDER_H_ #include "base/memory/raw_ptr.h" #include "base/memory/raw_ref.h" #include "cc/paint/record_paint_canvas.h" #include "ui/compositor/compositor_export.h" #include "ui/gfx/canvas.h" #include "ui/gfx/geometry/rect.h" namespace gfx { class Canvas; } namespace ui { class PaintCache; class PaintContext; // A class to hide the complexity behind setting up a recording into a // DisplayItem. This is meant to be short-lived within the scope of recording // taking place, the DisplayItem should be removed from the PaintRecorder once // recording is complete and can be cached. class COMPOSITOR_EXPORT PaintRecorder { … }; } // namespace ui #endif // UI_COMPOSITOR_PAINT_RECORDER_H_