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

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: Update histogram.xml with pepper_hash_for_uma 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 2015 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 device_id,
22 const scoped_refptr<TrackedCallback>& callback) = 0;
23 virtual void Close() = 0;
24 virtual int32_t GetCameraCapabilities(
25 PP_Resource* capabilities,
26 const scoped_refptr<TrackedCallback>& callback) = 0;
27 };
28
29 } // namespace thunk
30 } // namespace ppapi
31
32 #endif // PPAPI_THUNK_PPB_IMAGE_CAPTURE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698