28 #ifndef dooble_web_engine_view_h
29 #define dooble_web_engine_view_h
32 #include <QWebEngineView>
44 QWebEngineProfile *web_engine_profile(
void)
const;
45 bool is_private(
void)
const;
46 void download(
const QString &file_name,
const QUrl &url);
47 void save(
const QString &file_name);
48 void set_feature_permission(
const QUrl &security_origin,
49 QWebEnginePage::Feature feature,
50 QWebEnginePage::PermissionPolicy policy);
53 QSize sizeHint(
void)
const;
54 QWebEngineView *createWindow(QWebEnginePage::WebWindowType type);
55 void contextMenuEvent(QContextMenuEvent *event);
56 void resizeEvent(QResizeEvent *event);
59 QList<dooble_web_engine_view *> m_dialog_requests;
60 QTimer m_dialog_requests_timer;
65 void slot_accept_or_block_domain(
void);
66 void slot_certificate_exception_accepted(
const QUrl &url);
67 void slot_create_dialog_requests(
void);
68 void slot_load_progress(
int progress);
69 void slot_load_started(
void);
70 void slot_open_link_in_current_page(
void);
71 void slot_open_link_in_new_private_window(
void);
72 void slot_open_link_in_new_tab(
void);
73 void slot_open_link_in_new_window(
void);
74 void slot_peekaboo(
void);
75 void slot_search(
void);
76 void slot_settings_applied(
void);
83 #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
84 void downloadRequested(QWebEngineDownloadItem *download);
86 void downloadRequested(QWebEngineDownloadRequest *download);
88 void featurePermissionRequestCanceled(
const QUrl &security_origin,
89 QWebEnginePage::Feature feature);
90 void featurePermissionRequested(
const QUrl &security_origin,
91 QWebEnginePage::Feature feature);
92 void open_link_in_current_page(
const QUrl &url);
93 void open_link_in_new_private_window(
const QUrl &url);
94 void open_link_in_new_tab(
const QUrl &url);
95 void open_link_in_new_window(
const QUrl &url);
96 void peekaboo_text(
const QString &text);
97 #if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
98 void printRequested(
void);
100 void show_full_screen(
bool state);
101 void windowCloseRequested(
void);
Definition: dooble_web_engine_page.h:38
Definition: dooble_web_engine_view.h:37