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

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

Issue 848863002: PPAPI: implement GetSupportedPreviewSizes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error on Linux build Created 5 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
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
11 [generate_thunk] 11 [generate_thunk]
12 12
13 label Chrome { 13 label Chrome {
14 M39 = 0.1 14 M40 = 0.1
wuchengli 2015/01/19 14:05:03 Tot is M42.
Justin Chuang 2015/01/26 15:00:50 Done, but it requires to uprev pp_macro.h
wuchengli 2015/01/29 13:52:14 I don't understand. Can you explain?
Justin Chuang 2015/02/02 08:43:44 pp_macro.h defines M41. I need to change it to M42
15 }; 15 };
16 16
17 /** 17 /**
18 * The <code>PPB_CameraCapabilities_Private</code> interface contains pointers 18 * The <code>PPB_CameraCapabilities_Private</code> interface contains pointers
19 * to several functions for getting the image capture capabilities within the 19 * to several functions for getting the image capture capabilities within the
20 * browser. 20 * browser.
21 */ 21 */
22 [version=0.1] 22 [version=0.1]
23 interface PPB_CameraCapabilities_Private { 23 interface PPB_CameraCapabilities_Private {
24 /** 24 /**
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 * the supported JPEG image sizes in pixels. The ownership of the array 76 * the supported JPEG image sizes in pixels. The ownership of the array
77 * belongs to <code>PPB_CameraCapabilities_Private</code> and the caller 77 * belongs to <code>PPB_CameraCapabilities_Private</code> and the caller
78 * should not free it. When a PPB_CameraCapabilities_Private is deleted, the 78 * should not free it. When a PPB_CameraCapabilities_Private is deleted, the
79 * array 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

Powered by Google App Engine
This is Rietveld 408576698