24#include <QWebEnginePage>
33 enum EventHandlerType { MouseDoubleClickHandler, MousePressHandler, MouseReleaseHandler,
40 void registerAppEventHandler(EventHandlerType type,
PluginInterface* obj);
43 void populateExtensionsMenu(QMenu *menu);
45 bool processMouseDoubleClick(
Qz::ObjectName type, QObject* obj, QMouseEvent* event);
46 bool processMousePress(
Qz::ObjectName type, QObject* obj, QMouseEvent* event);
47 bool processMouseRelease(
Qz::ObjectName type, QObject* obj, QMouseEvent* event);
48 bool processMouseMove(
Qz::ObjectName type, QObject* obj, QMouseEvent* event);
50 bool processWheelEvent(
Qz::ObjectName type, QObject* obj, QWheelEvent* event);
52 bool processKeyPress(
Qz::ObjectName type, QObject* obj, QKeyEvent* event);
53 bool processKeyRelease(
Qz::ObjectName type, QObject* obj, QKeyEvent* event);
55 bool acceptNavigationRequest(
WebPage *page,
const QUrl &url, QWebEnginePage::NavigationType type,
bool isMainFrame);
57 void emitWebPageCreated(
WebPage* page);
58 void emitWebPageDeleted(
WebPage* page);
74 QList<PluginInterface*> m_mouseDoubleClickHandlers;
75 QList<PluginInterface*> m_mousePressHandlers;
76 QList<PluginInterface*> m_mouseReleaseHandlers;
77 QList<PluginInterface*> m_mouseMoveHandlers;
79 QList<PluginInterface*> m_wheelEventHandlers;
81 QList<PluginInterface*> m_keyPressHandlers;
82 QList<PluginInterface*> m_keyReleaseHandlers;
void webPageCreated(WebPage *page)
void mainWindowDeleted(BrowserWindow *window)
void mainWindowCreated(BrowserWindow *window)
void webPageDeleted(WebPage *page)
void pluginUnloaded(PluginInterface *plugin)