Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3863)

Unified Diff: chrome/browser/permissions/grouped_permission_infobar_delegate_android.h

Issue 2919323002: Support "learn more" link for EME in PermissionRequestManager code-path on Android (Closed)
Patch Set: address comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
diff --git a/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h b/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
index 148379c948e3fdd24bdba1c87d26615d5096e428..d039786d4d1a20379320898912559f2ecddac6ee 100644
--- a/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
+++ b/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
@@ -49,6 +49,7 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
bool Accept() override;
bool Cancel() override;
void InfoBarDismissed() override;
+ base::string16 GetLinkText() const override;
protected:
bool GetAcceptState(size_t position);
@@ -62,6 +63,7 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
Type GetInfoBarType() const override;
int GetButtons() const override;
base::string16 GetButtonLabel(InfoBarButton button) const override;
+ GURL GetLinkURL() const override;
// InfoBarDelegate:
bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override;

Powered by Google App Engine
This is Rietveld 408576698