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

Side by Side Diff: ppapi/thunk/ppb_image_capture_api.h

Issue 848863002: PPAPI: implement GetSupportedPreviewSizes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address WuCheng's comments in Patch Set 9/10 Created 5 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_THUNK_PPB_IMAGE_CAPTURE_API_H_
6 #define PPAPI_THUNK_PPB_IMAGE_CAPTURE_API_H_
7
8 #include <string>
9
10 #include "ppapi/c/private/ppb_image_capture_private.h"
11
12 namespace ppapi {
13
14 class TrackedCallback;
15
16 namespace thunk {
17
18 class PPB_ImageCapture_API {
19 public:
20 virtual ~PPB_ImageCapture_API() {}
21 virtual int32_t Open(PP_Var camera_source_id,
22 scoped_refptr<TrackedCallback> callback) = 0;
23 virtual void Close() = 0;
24 virtual int32_t SetConfig(PP_Resource config,
25 scoped_refptr<TrackedCallback> callback) = 0;
26 virtual int32_t GetConfig(PP_Resource* config,
27 scoped_refptr<TrackedCallback> callback) = 0;
28 virtual int32_t GetCameraCapabilities(
29 PP_Resource* capabilities,
30 scoped_refptr<TrackedCallback> callback) = 0;
31 virtual int32_t CaptureStillImage(
32 PPB_ImageCapture_Private_ShutterCallback shutter_callback,
33 PPB_ImageCapture_Private_PreviewCallback preview_callback,
34 PPB_ImageCapture_Private_JpegCallback jpeg_callback,
35 int64_t* sequence_id) = 0;
dmichael (off chromium) 2015/02/03 19:33:17 Hmm, it's tempting to say you should land the CL d
Justin Chuang 2015/02/04 17:44:24 Sure, I'm okay in either way. I can commit the oth
wuchengli 2015/02/05 03:32:54 http://crrev.com/884483007 was already approved. S
36 };
37
38 } // namespace thunk
39 } // namespace ppapi
40
41 #endif // PPAPI_THUNK_PPB_IMAGE_CAPTURE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698