| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ | 5 #ifndef PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ |
| 6 #define PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ | 6 #define PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "ppapi/cpp/graphics_2d.h" | 13 #include "ppapi/cpp/graphics_2d.h" |
| 11 #include "ppapi/utility/completion_callback_factory.h" | 14 #include "ppapi/utility/completion_callback_factory.h" |
| 12 #include "ppapi/utility/graphics/paint_aggregator.h" | 15 #include "ppapi/utility/graphics/paint_aggregator.h" |
| 13 | 16 |
| 14 /// @file | 17 /// @file |
| 15 /// This file defines the API to convert the "plugin push" model of painting | 18 /// This file defines the API to convert the "plugin push" model of painting |
| 16 /// in PPAPI to a paint request at a later time. | 19 /// in PPAPI to a paint request at a later time. |
| 17 | 20 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 // When we get a resize, we don't bind right away (see SetSize). The | 291 // When we get a resize, we don't bind right away (see SetSize). The |
| 289 // has_pending_resize_ tells us that we need to do a resize for the next | 292 // has_pending_resize_ tells us that we need to do a resize for the next |
| 290 // paint operation. When true, the new size is in pending_size_. | 293 // paint operation. When true, the new size is in pending_size_. |
| 291 bool has_pending_resize_; | 294 bool has_pending_resize_; |
| 292 Size pending_size_; | 295 Size pending_size_; |
| 293 }; | 296 }; |
| 294 | 297 |
| 295 } // namespace pp | 298 } // namespace pp |
| 296 | 299 |
| 297 #endif // PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ | 300 #endif // PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ |
| OLD | NEW |