private void mouse_outside_menu(cef_menu_model_delegate_t *self, cef_menu_model_t *menu_model, cef_point_t *screen_point) { CheckSelf(self); var m_menuModel = CefMenuModel.FromNative(menu_model); var m_screenPoint = new CefPoint(screen_point->x, screen_point->y); MouseOutsideMenu(m_menuModel, m_screenPoint); }
/// <summary> /// Open developer tools (DevTools) in its own browser. The DevTools browser /// will remain associated with this browser. If the DevTools browser is /// already open then it will be focused, in which case the |windowInfo|, /// |client| and |settings| parameters will be ignored. If |inspect_element_at| /// is non-empty then the element at the specified (x,y) location will be /// inspected. The |windowInfo| parameter will be ignored if this browser is /// wrapped in a CefBrowserView. /// </summary> public void ShowDevTools(CefWindowInfo windowInfo, CefClient client, CefBrowserSettings browserSettings, CefPoint inspectElementAt) { var n_inspectElementAt = new cef_point_t(inspectElementAt.X, inspectElementAt.Y); cef_browser_host_t.show_dev_tools(_self, windowInfo.ToNative(), client.ToNative(), browserSettings.ToNative(), &n_inspectElementAt); }
/// <summary> /// Open developer tools in its own window. If |inspect_element_at| is non- /// empty the element at the specified (x,y) location will be inspected. /// </summary> public void ShowDevTools(CefWindowInfo windowInfo, CefClient client, CefBrowserSettings browserSettings, CefPoint inspectElementAt) { var n_inspectElementAt = new cef_point_t(inspectElementAt.X, inspectElementAt.Y); cef_browser_host_t.show_dev_tools(_self, windowInfo.ToNative(), client.ToNative(), browserSettings.ToNative(), &n_inspectElementAt); }
/// <summary> /// Called when the user moves the mouse outside the menu and over the owning /// window. /// </summary> protected virtual void MouseOutsideMenu(CefMenuModel menuModel, CefPoint screenPoint) { }