| 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 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PPB_View</code> struct representing the state | 7 * This file defines the <code>PPB_View</code> struct representing the state |
| 8 * of the view of an instance. | 8 * of the view of an instance. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 [generate_thunk] | 11 [generate_thunk] |
| 12 | 12 |
| 13 label Chrome { | 13 label Chrome { |
| 14 M18 = 1.0, | 14 M18 = 1.0, |
| 15 M28 = 1.1, | 15 M28 = 1.1, |
| 16 [channel=dev] M37 = 1.2 | 16 M37 = 1.2 |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 /** | 19 /** |
| 20 * <code>PPB_View</code> represents the state of the view of an instance. | 20 * <code>PPB_View</code> represents the state of the view of an instance. |
| 21 * You will receive new view information using | 21 * You will receive new view information using |
| 22 * <code>PPP_Instance.DidChangeView</code>. | 22 * <code>PPP_Instance.DidChangeView</code>. |
| 23 */ | 23 */ |
| 24 [macro="PPB_VIEW_INTERFACE"] | 24 [macro="PPB_VIEW_INTERFACE"] |
| 25 interface PPB_View { | 25 interface PPB_View { |
| 26 /** | 26 /** |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 * of the scroll offset in CSS pixels. | 206 * of the scroll offset in CSS pixels. |
| 207 * | 207 * |
| 208 * @return Returns <code>PP_TRUE</code> if the resource was valid and the | 208 * @return Returns <code>PP_TRUE</code> if the resource was valid and the |
| 209 * offset was filled in, <code>PP_FALSE</code> if not. | 209 * offset was filled in, <code>PP_FALSE</code> if not. |
| 210 */ | 210 */ |
| 211 [version=1.2] | 211 [version=1.2] |
| 212 PP_Bool GetScrollOffset([in] PP_Resource resource, | 212 PP_Bool GetScrollOffset([in] PP_Resource resource, |
| 213 [out] PP_Point offset); | 213 [out] PP_Point offset); |
| 214 }; | 214 }; |
| 215 | 215 |
| OLD | NEW |