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

Unified Diff: components/infobars/core/infobar_manager.h

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Edits Created 4 years, 11 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: components/infobars/core/infobar_manager.h
diff --git a/components/infobars/core/infobar_manager.h b/components/infobars/core/infobar_manager.h
index 502edac68a9b7ba6795df303ee4bd9cf558d3cde..43014d41e801d2eba6b5bf201772f3f053f38dac 100644
--- a/components/infobars/core/infobar_manager.h
+++ b/components/infobars/core/infobar_manager.h
@@ -17,6 +17,10 @@
class ConfirmInfoBarDelegate;
class GURL;
+namespace autofill {
+class AutofillCCInfoBarDelegate;
+}
+
namespace content {
class WebContents;
}
@@ -104,6 +108,10 @@ class InfoBarManager {
virtual scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate) = 0;
+ // Returns an autofill credit card saving infobar that owns |delegate|.
gone 2016/01/08 00:08:09 Is there no better way to do this? I'm not sure w
please use gerrit instead 2016/01/12 00:47:25 Another way is to add detail_icon(), detail_label(
please use gerrit instead 2016/01/12 00:49:14 Ended up making an autofill_save_card_infobar_mobi
+ virtual scoped_ptr<infobars::InfoBar> CreateAutofillCCInfoBar(
+ scoped_ptr<autofill::AutofillCCInfoBarDelegate> delegate) = 0;
+
// Opens a URL according to the specified |disposition|.
virtual void OpenURL(const GURL& url, WindowOpenDisposition disposition) = 0;

Powered by Google App Engine
This is Rietveld 408576698