| OLD | NEW |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 #ifndef PPAPI_CPP_PRIVATE_IMAGE_CAPTURE_CONFIG_PRIVATE_H_ | 6 #ifndef PPAPI_CPP_PRIVATE_IMAGE_CAPTURE_CONFIG_PRIVATE_H_ |
| 7 #define PPAPI_CPP_PRIVATE_IMAGE_CAPTURE_CONFIG_PRIVATE_H_ | 7 #define PPAPI_CPP_PRIVATE_IMAGE_CAPTURE_CONFIG_PRIVATE_H_ |
| 8 | 8 |
| 9 #include "ppapi/c/private/ppb_image_capture_config_private.h" | 9 #include "ppapi/c/private/ppb_image_capture_config_private.h" |
| 10 #include "ppapi/cpp/resource.h" | 10 #include "ppapi/cpp/resource.h" |
| 11 #include "ppapi/cpp/size.h" | 11 #include "ppapi/cpp/size.h" |
| 12 | 12 |
| 13 /// @file | 13 /// @file |
| 14 /// This file defines the ImageCaptureConfig_Private interface for | 14 /// This file defines the ImageCaptureConfig_Private interface for |
| 15 /// establishing an image capture configuration resource within the browser. | 15 /// establishing an image capture configuration resource within the browser. |
| 16 namespace pp { | 16 namespace pp { |
| 17 | 17 |
| 18 /// The <code>ImageCaptureConfig_Private</code> interface contains methods for | 18 /// The <code>ImageCaptureConfig_Private</code> interface contains methods for |
| 19 /// establishing image capture configuration within the browser. The new | 19 /// establishing image capture configuration within the browser. The new |
| 20 /// configuration will take effect after <code> | 20 /// configuration will take effect after <code> |
| 21 /// ImageCaptureConfig_Private.SetConfig</code> is called. | 21 /// ImageCaptureConfig_Private.SetConfig</code> is called. |
| 22 class ImageCaptureConfig_Private { | 22 class ImageCaptureConfig_Private : public Resource { |
| 23 public: | 23 public: |
| 24 /// Default constructor for creating an is_null() | 24 /// Default constructor for creating an is_null() |
| 25 /// <code>ImageCaptureConfig_Private</code> object. | 25 /// <code>ImageCaptureConfig_Private</code> object. |
| 26 ImageCaptureConfig_Private(); | 26 ImageCaptureConfig_Private(); |
| 27 | 27 |
| 28 /// The copy constructor for <code>ImageCaptureConfig_Private</code>. | 28 /// The copy constructor for <code>ImageCaptureConfig_Private</code>. |
| 29 /// | 29 /// |
| 30 /// @param[in] other A reference to a <code>ImageCaptureConfig_Private | 30 /// @param[in] other A reference to a <code>ImageCaptureConfig_Private |
| 31 /// </code>. | 31 /// </code>. |
| 32 ImageCaptureConfig_Private(const ImageCaptureConfig_Private& other); | 32 ImageCaptureConfig_Private(const ImageCaptureConfig_Private& other); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 /// capture config resource. | 89 /// capture config resource. |
| 90 /// | 90 /// |
| 91 /// @return true if the given resource is an <code> | 91 /// @return true if the given resource is an <code> |
| 92 /// ImageCaptureConfig_Private</code> resource, otherwise false. | 92 /// ImageCaptureConfig_Private</code> resource, otherwise false. |
| 93 static bool IsImageCaptureConfig(const Resource& resource); | 93 static bool IsImageCaptureConfig(const Resource& resource); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace pp | 96 } // namespace pp |
| 97 | 97 |
| 98 #endif /* PPAPI_CPP_PRIVATE_IMAGE_CAPTURE_CONFIG_PRIVATE_H_ */ | 98 #endif /* PPAPI_CPP_PRIVATE_IMAGE_CAPTURE_CONFIG_PRIVATE_H_ */ |
| 99 | |
| OLD | NEW |