Exemple #1
0
        /// <summary>
        /// Returns the document element with the specified ID value.
        /// </summary>
        public unsafe virtual CefDOMNode GetElementById(string id)
        {
            fixed(char *s0 = id)
            {
                var cstr0 = new cef_string_t {
                    Str = s0, Length = id != null ? id.Length : 0
                };

                return(SafeCall(CefDOMNode.Wrap(CefDOMNode.Create, NativeInstance->GetElementById(&cstr0))));
            }
        }
 protected internal virtual void OnFocusedNodeChanged(CefBrowser browser, CefFrame frame, CefDOMNode node)
 {
 }
Exemple #3
0
 /// <summary>
 /// Returns true (1) if this object is pointing to the same handle as |that|
 /// object.
 /// </summary>
 public unsafe virtual bool IsSame(CefDOMNode that)
 {
     return(SafeCall(NativeInstance->IsSame((that != null) ? that.GetNativeInstance() : null) != 0));
 }