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

Unified Diff: ppapi/thunk/ppb_image_capture_config_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_image_capture_config_api.h
diff --git a/ppapi/thunk/ppb_image_capture_config_api.h b/ppapi/thunk/ppb_image_capture_config_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..b6bd20cd99f4684b75bb50c5249c925b64ec90d8
--- /dev/null
+++ b/ppapi/thunk/ppb_image_capture_config_api.h
@@ -0,0 +1,31 @@
+// 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_IMAGE_CAPTURE_CONFIG_API_H_
+#define PPAPI_THUNK_PPB_IMAGE_CAPTURE_CONFIG_API_H_
+
+#include <string>
+
+#include "ppapi/c/private/ppb_image_capture_config_private.h"
+
+namespace ppapi {
+
+class TrackedCallback;
+
+namespace thunk {
+
+class PPB_ImageCaptureConfig_API {
+ public:
+ virtual ~PPB_ImageCaptureConfig_API() {}
+
+ virtual void GetPreviewSize(PP_Size* preview_size) = 0;
+ virtual void SetPreviewSize(const PP_Size* preview_size) = 0;
+ virtual void GetJpegSize(PP_Size* jpeg_size) = 0;
+ virtual void SetJpegSize(const PP_Size* jpeg_size) = 0;
+};
+
+} // namespace thunk
+} // namespace ppapi
+
+#endif // PPAPI_THUNK_PPB_IMAGE_CAPTURE_CONFIG_API_H_

Powered by Google App Engine
This is Rietveld 408576698