Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: ppapi/utility/graphics/paint_manager.h

Issue 9030001: Move paint aggregator and the completion callback factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DEPS Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_CPP_PAINT_MANAGER_H_ 5 #ifndef PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_
6 #define PPAPI_CPP_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/completion_callback.h"
11 #include "ppapi/cpp/graphics_2d.h" 10 #include "ppapi/cpp/graphics_2d.h"
12 #include "ppapi/cpp/paint_aggregator.h" 11 #include "ppapi/utility/completion_callback_factory.h"
12 #include "ppapi/utility/graphics/paint_aggregator.h"
13 13
14 /// @file 14 /// @file
15 /// This file defines the API to convert the "plugin push" model of painting 15 /// This file defines the API to convert the "plugin push" model of painting
16 /// in PPAPI to a paint request at a later time. 16 /// in PPAPI to a paint request at a later time.
17 17
18 namespace pp { 18 namespace pp {
19 19
20 class Graphics2D; 20 class Graphics2D;
21 class Instance; 21 class Instance;
22 class Point; 22 class Point;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 287
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_CPP_PAINT_MANAGER_H_ 297 #endif // PPAPI_UTILITY_GRAPHICS_PAINT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698