mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefDOMNode::GetElementBounds() method
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user