| 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 | 5 |
| 6 /** | 6 /** |
| 7 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics | 7 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics |
| 8 * context within the browser. | 8 * context within the browser. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 label Chrome { | 11 label Chrome { |
| 12 M13 = 0.4, | |
| 13 M14 = 1.0 | 12 M14 = 1.0 |
| 14 }; | 13 }; |
| 15 | 14 |
| 16 /** | 15 /** |
| 17 * <code>PPB_Graphics2D</code> defines the interface for a 2D graphics context. | 16 * <code>PPB_Graphics2D</code> defines the interface for a 2D graphics context. |
| 18 */ | 17 */ |
| 19 [macro="PPB_GRAPHICS_2D_INTERFACE"] | 18 [macro="PPB_GRAPHICS_2D_INTERFACE"] |
| 20 interface PPB_Graphics2D { | 19 interface PPB_Graphics2D { |
| 21 /** | 20 /** |
| 22 * Create() creates a 2D graphics context. The returned graphics context will | 21 * Create() creates a 2D graphics context. The returned graphics context will |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 247 |
| 249 /* | 248 /* |
| 250 * TODO(): Add back in the synchronous mode description once we have support | 249 * TODO(): Add back in the synchronous mode description once we have support |
| 251 * for it. | 250 * for it. |
| 252 */ | 251 */ |
| 253 int32_t Flush( | 252 int32_t Flush( |
| 254 [in] PP_Resource graphics_2d, | 253 [in] PP_Resource graphics_2d, |
| 255 [in] PP_CompletionCallback callback); | 254 [in] PP_CompletionCallback callback); |
| 256 }; | 255 }; |
| 257 | 256 |
| OLD | NEW |