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

Unified Diff: ppapi/thunk/ppb_camera_capabilities_api.h

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 side-by-side diff with in-line comments
Download patch
Index: ppapi/thunk/ppb_camera_capabilities_api.h
diff --git a/ppapi/thunk/ppb_camera_capabilities_api.h b/ppapi/thunk/ppb_camera_capabilities_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..5cddb42801db410c10045ef50728fb5e48b9427b
--- /dev/null
+++ b/ppapi/thunk/ppb_camera_capabilities_api.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_
+#define PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_
+
+#include <string>
wuchengli 2015/01/19 14:05:04 remove
Justin Chuang 2015/01/26 15:00:51 Done.
+
+#include "ppapi/c/private/ppb_camera_capabilities_private.h"
+
+namespace ppapi {
+
+class TrackedCallback;
wuchengli 2015/01/19 14:05:04 remove
Justin Chuang 2015/01/26 15:00:51 Done. Thanks
+
+namespace thunk {
+
+class PPB_CameraCapabilities_API {
+ public:
+ virtual ~PPB_CameraCapabilities_API() {}
+ virtual void GetSupportedPreviewSizes(int32_t* array_size,
+ PP_Size** preview_sizes) = 0;
+ virtual void GetSupportedJpegSizes(int32_t* array_size,
+ PP_Size** jpeg_sizes) = 0;
+};
+
+} // namespace thunk
+} // namespace ppapi
+
+#endif // PPAPI_THUNK_PPB_CAMERA_CAPABILITIES_API_H_

Powered by Google App Engine
This is Rietveld 408576698