Commit f03f96ef authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more methods

parent 44cf4013
......@@ -167,6 +167,13 @@ void MailWebEngineView::showAccessKeys()
bool MailWebEngineView::isScrolledToBottom() const
//Convert as async
//TODO '(window.innerHeight + window.scrollY) >= document.body.offsetHeight)'
return false;
void MailWebEngineView::setElementByIdVisible(const QString &id, bool visible)
page()->runJavaScript(MessageViewer::WebEngineScript::setElementByIdVisible(id, visible));
......@@ -40,6 +40,7 @@ public:
void saveMainFrameScreenshotInFile(const QString &filename);
void showAccessKeys();
bool isScrolledToBottom() const;
void setElementByIdVisible(const QString &id, bool visible);
bool removeAttachmentMarking(const QString &id);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment