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

Unified Diff: chrome/browser/ui/autofill/save_card_bubble_controller.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
Index: chrome/browser/ui/autofill/save_card_bubble_controller.h
diff --git a/chrome/browser/ui/autofill/save_card_bubble_controller.h b/chrome/browser/ui/autofill/save_card_bubble_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..4f09a8a10f04c9dad79559c65f29d45168640866
--- /dev/null
+++ b/chrome/browser/ui/autofill/save_card_bubble_controller.h
@@ -0,0 +1,30 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_H_
+#define CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_H_
+
+#include "base/macros.h"
+
+namespace autofill {
+
+class SaveCardBubbleView;
+
+// Interface that exposes controller functionality to SaveCardBubbleView.
+class SaveCardBubbleController {
+ public:
+ virtual void OnSaveButton() = 0;
+ virtual void OnCancelButton() = 0;
+ virtual void OnBubbleClosed() = 0;
+
+ protected:
+ SaveCardBubbleController() {}
+ virtual ~SaveCardBubbleController() {}
+
+ DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleController);
+};
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_H_
« no previous file with comments | « chrome/browser/ui/autofill/chrome_autofill_client.cc ('k') | chrome/browser/ui/autofill/save_card_bubble_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698