Add CefDOMNode::GetElementBounds() method

This commit is contained in:
Marshall Greenblatt
2016-09-09 14:02:57 -04:00
parent 1679632000
commit a312974ad9
8 changed files with 73 additions and 1 deletions

View File

@@ -429,6 +429,20 @@ CefString CefDOMNodeCToCpp::GetElementInnerText() {
return _retvalStr;
}
CefRect CefDOMNodeCToCpp::GetElementBounds() {
cef_domnode_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_element_bounds))
return CefRect();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
cef_rect_t _retval = _struct->get_element_bounds(_struct);
// Return type: simple
return _retval;
}
// CONSTRUCTOR - Do not edit by hand.

View File

@@ -56,6 +56,7 @@ class CefDOMNodeCToCpp
bool SetElementAttribute(const CefString& attrName,
const CefString& value) OVERRIDE;
CefString GetElementInnerText() OVERRIDE;
CefRect GetElementBounds() OVERRIDE;
};
#endif // USING_CEF_SHARED