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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 1396923003: Autofill: Replace "save credit card" infobar with a bubble (Views only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change object lifecycles + add interface classes. Created 5 years, 2 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/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index b377723a4d64556da41929752ca1cd52cc59ab60..784bc7558c659f54ca8be36c57588dfcc0dc4a88 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -37,6 +37,11 @@ class ToolbarActionsBar;
struct WebApplicationInfo;
+namespace autofill {
+class SaveCardBubbleController;
+class SaveCardBubbleView;
+}
+
namespace content {
class WebContents;
struct NativeWebKeyboardEvent;
@@ -245,6 +250,11 @@ class BrowserWindow : public ui::BaseWindow {
const WebApplicationInfo& web_app_info,
const ShowBookmarkAppBubbleCallback& callback) = 0;
+ // Shows the "Save credit card" bubble.
+ virtual autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
Evan Stade 2015/10/16 01:20:44 need to add this to cocoa (and maybe a test/mock c
hcarmona 2015/10/16 21:16:35 This is only called by SaveCardBubbleControllerImp
bondd 2015/10/22 02:15:17 Yes, the plan is for Cocoa to use it the same way.
bondd 2015/10/22 02:15:17 Done.
+ content::WebContents* contents,
+ autofill::SaveCardBubbleController* controller) = 0;
+
// Shows the translate bubble.
//
// |is_user_gesture| is true when the bubble is shown on the user's deliberate

Powered by Google App Engine
This is Rietveld 408576698