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

Side by Side Diff: ppapi/api/private/ppb_camera_capabilities_private.idl

Issue 490433002: PPAPI: make generator output a pointer to an array correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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
« no previous file with comments | « no previous file | ppapi/api/private/ppp_flash_browser_operations.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 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 PPB_CameraCapabilities_Private interface for 7 * This file defines the PPB_CameraCapabilities_Private interface for
8 * establishing an image capture configuration resource within the browser. 8 * establishing an image capture configuration resource within the browser.
9 */ 9 */
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 PP_Bool IsCameraCapabilities( 46 PP_Bool IsCameraCapabilities(
47 [in] PP_Resource resource); 47 [in] PP_Resource resource);
48 48
49 /** 49 /**
50 * GetSupportedPreviewSizes() returns the supported preview sizes for the 50 * GetSupportedPreviewSizes() returns the supported preview sizes for the
51 * given <code>PPB_CameraCapabilities_Private</code>. 51 * given <code>PPB_CameraCapabilities_Private</code>.
52 * 52 *
53 * @param[in] capabilities A <code>PP_Resource</code> corresponding to an 53 * @param[in] capabilities A <code>PP_Resource</code> corresponding to an
54 * image capture capabilities resource. 54 * image capture capabilities resource.
55 * @param[out] array_size The size of preview size array. 55 * @param[out] array_size The size of preview size array.
56 * @param[out] An array of <code>PP_Size</code> corresponding to the 56 * @param[out] preview_sizes An array of <code>PP_Size</code> corresponding
57 * supported preview sizes in pixels. The ownership of the array belongs to 57 * to the supported preview sizes in pixels. The ownership of the array
58 * <code>PPB_CameraCapabilities_Private</code> and the caller should not 58 * belongs to <code>PPB_CameraCapabilities_Private</code> and the caller
59 * free it. When a PPB_CameraCapabilities_Private is deleted, the array 59 * should not free it. When a PPB_CameraCapabilities_Private is deleted,
60 * returning from this is no longer valid. 60 * the array returning from this is no longer valid.
61 */ 61 */
62 void GetSupportedPreviewSizes( 62 void GetSupportedPreviewSizes(
63 [in] PP_Resource capabilities, 63 [in] PP_Resource capabilities,
64 [out] int32_t array_size, 64 [out] int32_t array_size,
65 [out, size_is(array_size)] PP_Size[] preview_sizes); 65 [out, size_is(array_size)] PP_Size[] preview_sizes);
66 66
67 /** 67 /**
68 * GetSupportedJpegSize() returns the supported JPEG sizes for the given 68 * GetSupportedJpegSize() returns the supported JPEG sizes for the given
69 * <code>PPB_CameraCapabilities_Private</code>. 69 * <code>PPB_CameraCapabilities_Private</code>.
70 * 70 *
71 * @param[in] capabilities A <code>PP_Resource</code> corresponding to an 71 * @param[in] capabilities A <code>PP_Resource</code> corresponding to an
72 * image capture capabilities resource. 72 * image capture capabilities resource.
73 * @param[out] array_size The size of JPEG size array. If the output of this 73 * @param[out] array_size The size of JPEG size array. If the output of this
74 * is 0, the camera has no support for generating JPEG images. 74 * is 0, the camera has no support for generating JPEG images.
75 * @param[out] An array of <code>PP_Size</code> corresponding to the 75 * @param[out] jpeg_sizes An array of <code>PP_Size</code> corresponding to
76 * supported JPEG image sizes in pixels. The ownership of the array belongs 76 * the supported JPEG image sizes in pixels. The ownership of the array
77 * to <code>PPB_CameraCapabilities_Private</code> and the caller should not 77 * belongs to <code>PPB_CameraCapabilities_Private</code> and the caller
78 * free it. When a PPB_CameraCapabilities_Private is deleted, the array 78 * should not free it. When a PPB_CameraCapabilities_Private is deleted, the
79 * returning from this is no longer valid. 79 * array returning from this is no longer valid.
80 */ 80 */
81 void GetSupportedJpegSizes( 81 void GetSupportedJpegSizes(
82 [in] PP_Resource capabilities, 82 [in] PP_Resource capabilities,
83 [out] int32_t array_size, 83 [out] int32_t array_size,
84 [out, size_is(array_size)] PP_Size[] jpeg_sizes); 84 [out, size_is(array_size)] PP_Size[] jpeg_sizes);
85 }; 85 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/api/private/ppp_flash_browser_operations.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698