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

Unified Diff: ppapi/cpp/private/camera_capabilities_private.h

Issue 848863002: PPAPI: implement GetSupportedPreviewSizes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo: int32->int32_t 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/private/ppb_image_capture_private.h ('k') | ppapi/cpp/private/camera_capabilities_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/camera_capabilities_private.h
diff --git a/ppapi/cpp/private/camera_capabilities_private.h b/ppapi/cpp/private/camera_capabilities_private.h
index 5151c759e7759eed7b0e9f3aba4e6e658a2c0dec..5686d88090b012722d474c17927ea00019136ed8 100644
--- a/ppapi/cpp/private/camera_capabilities_private.h
+++ b/ppapi/cpp/private/camera_capabilities_private.h
@@ -6,6 +6,8 @@
#ifndef PPAPI_CPP_PRIVATE_CAMERA_CAPABILITIES_PRIVATE_H_
#define PPAPI_CPP_PRIVATE_CAMERA_CAPABILITIES_PRIVATE_H_
+#include <vector>
+
#include "ppapi/c/private/ppb_camera_capabilities_private.h"
#include "ppapi/cpp/resource.h"
#include "ppapi/cpp/size.h"
@@ -36,12 +38,6 @@ class CameraCapabilities_Private : public Resource {
/// resource.
explicit CameraCapabilities_Private(const Resource& resource);
- /// Constructs a <code>CameraCapabilities_Private</code> object.
- ///
- /// @param[in] instance The instance with which this resource will be
- /// associated.
- explicit CameraCapabilities_Private(const InstanceHandle& instance);
-
/// A constructor used when you have received a <code>PP_Resource</code> as a
/// return value that has had 1 ref added for you.
///
@@ -59,13 +55,6 @@ class CameraCapabilities_Private : public Resource {
/// supported preview sizes in pixels.
void GetSupportedPreviewSizes(std::vector<Size>* preview_sizes);
- /// GetSupportedJpegSize() returns the supported JPEG sizes for the given
- /// <code>CameraCapabilities_Private</code>.
- ///
- /// @param[out] A vector of <code>Size</code> corresponding to the
- /// supported JPEG image sizes in pixels.
- void GetSupportedJpegSizes(std::vector<Size>* jpeg_sizes);
-
/// IsCameraCapabilities() determines if the given resource is a
/// <code>CameraCapabilities_Private</code>.
///
@@ -80,4 +69,3 @@ class CameraCapabilities_Private : public Resource {
} // namespace pp
#endif /* PPAPI_CPP_PRIVATE_CAMERA_CAPABILITIES_PRIVATE_H_ */
-
« no previous file with comments | « ppapi/c/private/ppb_image_capture_private.h ('k') | ppapi/cpp/private/camera_capabilities_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698