// 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_AGGREGATOR_H_ #define PDF_PAINT_AGGREGATOR_H_ #include <vector> #include "pdf/paint_ready_rect.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/vector2d.h" namespace chrome_pdf { // This class is responsible for aggregating multiple invalidation and scroll // commands to produce a scroll and repaint sequence. You can use this manually // to track your updates, but most applications will use the PaintManager to // additionally handle the necessary callbacks on top of the PaintAggregator // functionality. // // See http://code.google.com/p/ppapi/wiki/2DPaintingModel class PaintAggregator { … }; } // namespace chrome_pdf #endif // PDF_PAINT_AGGREGATOR_H_