diff options
Diffstat (limited to 'src/core/web_contents_adapter_client.h')
-rw-r--r-- | src/core/web_contents_adapter_client.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h index 4bdb55b4c..e2f667358 100644 --- a/src/core/web_contents_adapter_client.h +++ b/src/core/web_contents_adapter_client.h @@ -125,7 +125,9 @@ public: QUrl linkUrl; QUrl unfilteredLinkUrl; QUrl mediaUrl; + QString altText; QString linkText; + QString titleText; QString selectedText; QString suggestedFileName; QString misspelledWord; @@ -215,6 +217,14 @@ public: return d->unfilteredLinkUrl; } + void setAltText(const QString &text) { + d->altText = text; + } + + QString altText() const { + return d->altText; + } + void setLinkText(const QString &text) { d->linkText = text; } @@ -223,6 +233,14 @@ public: return d->linkText; } + void setTitleText(const QString &text) { + d->titleText = text; + } + + QString titleText() const { + return d->titleText; + } + void setSelectedText(const QString &text) { d->selectedText = text; } @@ -434,7 +452,7 @@ public: virtual void recommendedStateChanged(LifecycleState) = 0; virtual void visibleChanged(bool) = 0; virtual void titleChanged(const QString&) = 0; - virtual void urlChanged(const QUrl&) = 0; + virtual void urlChanged() = 0; virtual void iconChanged(const QUrl&) = 0; virtual void loadProgressChanged(int progress) = 0; virtual void didUpdateTargetURL(const QUrl&) = 0; |