OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ppapi/cpp/graphics_2d.h" | 10 #include "ppapi/cpp/graphics_2d.h" |
(...skipping 277 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 | 288 // 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 | 289 // 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_. | 290 // paint operation. When true, the new size is in pending_size_. |
291 bool has_pending_resize_; | 291 bool has_pending_resize_; |
292 Size pending_size_; | 292 Size pending_size_; |
293 }; | 293 }; |
294 | 294 |
295 } // namespace pp | 295 } // namespace pp |
296 | 296 |
297 #endif // PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ | 297 #endif // PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_ |
OLD | NEW |