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

Side by Side Diff: ppapi/cpp/graphics_2d.h

Issue 10544168: Implement HiDPI support in Pepper dev interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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) 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_CPP_GRAPHICS_2D_H_ 5 #ifndef PPAPI_CPP_GRAPHICS_2D_H_
6 #define PPAPI_CPP_GRAPHICS_2D_H_ 6 #define PPAPI_CPP_GRAPHICS_2D_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/size.h" 10 #include "ppapi/cpp/size.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 /// not issued its callback yet. In the failure case, nothing will be 253 /// not issued its callback yet. In the failure case, nothing will be
254 /// updated and no callback will be scheduled. 254 /// updated and no callback will be scheduled.
255 255
256 // TODO(darin): We should ensure that the completion callback always runs, so 256 // TODO(darin): We should ensure that the completion callback always runs, so
257 // that it is easier for consumers to manage memory referenced by a callback. 257 // that it is easier for consumers to manage memory referenced by a callback.
258 258
259 // TODO(): Add back in the synchronous mode description once we have support 259 // TODO(): Add back in the synchronous mode description once we have support
260 // for it. 260 // for it.
261 int32_t Flush(const CompletionCallback& cc); 261 int32_t Flush(const CompletionCallback& cc);
262 262
263 private: 263 protected:
264 Size size_; 264 Size size_;
265 }; 265 };
266 266
267 } // namespace pp 267 } // namespace pp
268 268
269 #endif // PPAPI_CPP_GRAPHICS_2D_H_ 269 #endif // PPAPI_CPP_GRAPHICS_2D_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698