bug6105: define MediaMenuIcon as a widget using UIBinder

This commit is contained in:
Axel Uhl
2025-05-05 15:31:44 +02:00
parent 5926962e5d
commit 3f62b48345
14 changed files with 148 additions and 49 deletions
@@ -69,11 +69,17 @@ public class TakedownNoticeRequestContext implements Serializable {
*/
private final String username;
/**
* URL of the page on which the media was seen by the user
*/
private final String pageUrl;
public TakedownNoticeRequestContext(String contextDescriptionMessageKey, String contextDescriptionMessageParameter, String contentUrl,
NatureOfClaim natureOfClaim, String reportingUserComment, Iterable<String> supportingURLs, String username) {
String pageUrl, NatureOfClaim natureOfClaim, String reportingUserComment, Iterable<String> supportingURLs, String username) {
this.contextDescriptionMessageKey = contextDescriptionMessageKey;
this.contextDescriptionMessageParameter = contextDescriptionMessageParameter;
this.contentUrl = contentUrl;
this.pageUrl = pageUrl;
this.natureOfClaim = natureOfClaim;
this.reportingUserComment = reportingUserComment;
this.supportingURLs = supportingURLs;
@@ -84,6 +90,10 @@ public class TakedownNoticeRequestContext implements Serializable {
return contentUrl;
}
public String getPageUrl() {
return pageUrl;
}
public NatureOfClaim getNatureOfClaim() {
return natureOfClaim;
}