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

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: defined(TOOLKIT_VIEWS) -> defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX). 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
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
+ 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
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698