// Copyright 2010 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PDF_PAINT_MANAGER_H_ #define PDF_PAINT_MANAGER_H_ #include <vector> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "pdf/paint_aggregator.h" #include "third_party/skia/include/core/SkRefCnt.h" #include "ui/gfx/geometry/size.h" class SkImage; class SkSurface; namespace gfx { class Point; class Rect; class Vector2d; class Vector2dF; } // namespace gfx namespace chrome_pdf { // Custom PaintManager for the PDF plugin. This is branched from the Pepper // version. The difference is that this supports progressive rendering of dirty // rects, where multiple calls to the rendering engine are needed. It also // supports having higher-priority rects flushing right away, i.e. the // scrollbars. // // The client's OnPaint class PaintManager { … }; } // namespace chrome_pdf #endif // PDF_PAINT_MANAGER_H_