- Add CefValue for wrapping various value types in a single object (issue #1607).

- Add IsSame() and IsEqual() methods for comparing CefValue* types.
- Improve CefValue* documentation.
This commit is contained in:
Marshall Greenblatt
2015-04-15 15:45:30 +02:00
parent 740ad72f90
commit 0369063810
23 changed files with 3281 additions and 185 deletions

View File

@@ -62,6 +62,44 @@ bool CefBinaryValueCToCpp::IsOwned() {
return _retval?true:false;
}
bool CefBinaryValueCToCpp::IsSame(CefRefPtr<CefBinaryValue> that) {
if (CEF_MEMBER_MISSING(struct_, is_same))
return false;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: that; type: refptr_same
DCHECK(that.get());
if (!that.get())
return false;
// Execute
int _retval = struct_->is_same(struct_,
CefBinaryValueCToCpp::Unwrap(that));
// Return type: bool
return _retval?true:false;
}
bool CefBinaryValueCToCpp::IsEqual(CefRefPtr<CefBinaryValue> that) {
if (CEF_MEMBER_MISSING(struct_, is_equal))
return false;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: that; type: refptr_same
DCHECK(that.get());
if (!that.get())
return false;
// Execute
int _retval = struct_->is_equal(struct_,
CefBinaryValueCToCpp::Unwrap(that));
// Return type: bool
return _retval?true:false;
}
CefRefPtr<CefBinaryValue> CefBinaryValueCToCpp::Copy() {
if (CEF_MEMBER_MISSING(struct_, copy))
return NULL;