зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1756728 part 3: Remove now unused PDocAccessible::URL. r=morgan,ipc-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D147718
This commit is contained in:
Родитель
196146ecb6
Коммит
8cda799e04
|
@ -208,7 +208,6 @@ nsIntRect BoundsInCSSPixels();
|
||||||
void Language(nsString& aLocale);
|
void Language(nsString& aLocale);
|
||||||
void DocType(nsString& aType);
|
void DocType(nsString& aType);
|
||||||
void Title(nsString& aTitle);
|
void Title(nsString& aTitle);
|
||||||
void URL(nsString& aURL);
|
|
||||||
void MimeType(nsString aMime);
|
void MimeType(nsString aMime);
|
||||||
void URLDocTypeMimeType(nsString& aURL, nsString& aDocType,
|
void URLDocTypeMimeType(nsString& aURL, nsString& aDocType,
|
||||||
nsString& aMimeType);
|
nsString& aMimeType);
|
||||||
|
|
|
@ -1520,16 +1520,6 @@ mozilla::ipc::IPCResult DocAccessibleChild::RecvTitle(const uint64_t& aID,
|
||||||
return IPC_OK();
|
return IPC_OK();
|
||||||
}
|
}
|
||||||
|
|
||||||
mozilla::ipc::IPCResult DocAccessibleChild::RecvURL(const uint64_t& aID,
|
|
||||||
nsString* aURL) {
|
|
||||||
LocalAccessible* acc = IdToAccessible(aID);
|
|
||||||
if (acc && acc->IsDoc()) {
|
|
||||||
acc->AsDoc()->URL(*aURL);
|
|
||||||
}
|
|
||||||
|
|
||||||
return IPC_OK();
|
|
||||||
}
|
|
||||||
|
|
||||||
mozilla::ipc::IPCResult DocAccessibleChild::RecvMimeType(const uint64_t& aID,
|
mozilla::ipc::IPCResult DocAccessibleChild::RecvMimeType(const uint64_t& aID,
|
||||||
nsString* aMime) {
|
nsString* aMime) {
|
||||||
LocalAccessible* acc = IdToAccessible(aID);
|
LocalAccessible* acc = IdToAccessible(aID);
|
||||||
|
|
|
@ -432,8 +432,6 @@ class DocAccessibleChild : public DocAccessibleChildBase {
|
||||||
nsString* aType) override;
|
nsString* aType) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvTitle(const uint64_t& aID,
|
virtual mozilla::ipc::IPCResult RecvTitle(const uint64_t& aID,
|
||||||
nsString* aTitle) override;
|
nsString* aTitle) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvURL(const uint64_t& aID,
|
|
||||||
nsString* aURL) override;
|
|
||||||
virtual mozilla::ipc::IPCResult RecvMimeType(const uint64_t& aID,
|
virtual mozilla::ipc::IPCResult RecvMimeType(const uint64_t& aID,
|
||||||
nsString* aMime) override;
|
nsString* aMime) override;
|
||||||
virtual mozilla::ipc::IPCResult RecvURLDocTypeMimeType(
|
virtual mozilla::ipc::IPCResult RecvURLDocTypeMimeType(
|
||||||
|
|
|
@ -332,7 +332,6 @@ child:
|
||||||
[Nested=inside_sync] sync Language(uint64_t aID) returns(nsString aLocale);
|
[Nested=inside_sync] sync Language(uint64_t aID) returns(nsString aLocale);
|
||||||
[Nested=inside_sync] sync DocType(uint64_t aID) returns(nsString aType);
|
[Nested=inside_sync] sync DocType(uint64_t aID) returns(nsString aType);
|
||||||
[Nested=inside_sync] sync Title(uint64_t aID) returns(nsString aTitle);
|
[Nested=inside_sync] sync Title(uint64_t aID) returns(nsString aTitle);
|
||||||
[Nested=inside_sync] sync URL(uint64_t aID) returns(nsString aURL);
|
|
||||||
[Nested=inside_sync] sync MimeType(uint64_t aID) returns(nsString aMime);
|
[Nested=inside_sync] sync MimeType(uint64_t aID) returns(nsString aMime);
|
||||||
[Nested=inside_sync] sync URLDocTypeMimeType(uint64_t aID) returns(nsString aURL, nsString aDocType, nsString aMimeType);
|
[Nested=inside_sync] sync URLDocTypeMimeType(uint64_t aID) returns(nsString aURL, nsString aDocType, nsString aMimeType);
|
||||||
|
|
||||||
|
|
|
@ -1007,10 +1007,6 @@ void RemoteAccessible::Title(nsString& aTitle) {
|
||||||
Unused << mDoc->SendTitle(mID, &aTitle);
|
Unused << mDoc->SendTitle(mID, &aTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RemoteAccessible::URL(nsString& aURL) {
|
|
||||||
Unused << mDoc->SendURL(mID, &aURL);
|
|
||||||
}
|
|
||||||
|
|
||||||
void RemoteAccessible::MimeType(nsString aMime) {
|
void RemoteAccessible::MimeType(nsString aMime) {
|
||||||
Unused << mDoc->SendMimeType(mID, &aMime);
|
Unused << mDoc->SendMimeType(mID, &aMime);
|
||||||
}
|
}
|
||||||
|
|
|
@ -598,9 +598,6 @@ platform = notwin
|
||||||
[PDocAccessible::Title]
|
[PDocAccessible::Title]
|
||||||
description = Legacy a11y IPC
|
description = Legacy a11y IPC
|
||||||
platform = notwin
|
platform = notwin
|
||||||
[PDocAccessible::URL]
|
|
||||||
description = Legacy a11y IPC
|
|
||||||
platform = notwin
|
|
||||||
[PDocAccessible::MimeType]
|
[PDocAccessible::MimeType]
|
||||||
description = Legacy a11y IPC
|
description = Legacy a11y IPC
|
||||||
platform = notwin
|
platform = notwin
|
||||||
|
|
Загрузка…
Ссылка в новой задаче