| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PDF_PAINT_MANAGER_H_ | 5 #ifndef PDF_PAINT_MANAGER_H_ |
| 6 #define PDF_PAINT_MANAGER_H_ | 6 #define PDF_PAINT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "pdf/paint_aggregator.h" | 12 #include "pdf/paint_aggregator.h" |
| 11 #include "ppapi/cpp/graphics_2d.h" | 13 #include "ppapi/cpp/graphics_2d.h" |
| 12 #include "ppapi/utility/completion_callback_factory.h" | 14 #include "ppapi/utility/completion_callback_factory.h" |
| 13 | 15 |
| 14 namespace pp { | 16 namespace pp { |
| 15 class Graphics2D; | 17 class Graphics2D; |
| 16 class Instance; | 18 class Instance; |
| 17 class Point; | 19 class Point; |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 bool in_paint_; | 198 bool in_paint_; |
| 197 | 199 |
| 198 // True if we haven't painted the plugin viewport yet. | 200 // True if we haven't painted the plugin viewport yet. |
| 199 bool first_paint_; | 201 bool first_paint_; |
| 200 | 202 |
| 201 // True when the view size just changed and we're waiting for a paint. | 203 // True when the view size just changed and we're waiting for a paint. |
| 202 bool view_size_changed_waiting_for_paint_; | 204 bool view_size_changed_waiting_for_paint_; |
| 203 }; | 205 }; |
| 204 | 206 |
| 205 #endif // PDF_PAINT_MANAGER_H_ | 207 #endif // PDF_PAINT_MANAGER_H_ |
| OLD | NEW |