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

Unified Diff: chrome/browser/ui/autofill/save_card_bubble_view.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_view.h
diff --git a/chrome/browser/ui/autofill/save_card_bubble_view.h b/chrome/browser/ui/autofill/save_card_bubble_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..c4410ee67123a1372678fbca3da82f6f10f31cb0
--- /dev/null
+++ b/chrome/browser/ui/autofill/save_card_bubble_view.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_VIEW_H_
+#define CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_
+
+#include "base/macros.h"
+
+namespace autofill {
+
+// The cross-platform UI interface which displays the "Save credit card?"
+// bubble. This object is responsible for its own lifetime.
+class SaveCardBubbleView {
+ public:
+ virtual void Show() = 0;
+ virtual void Close() = 0;
+ virtual void ControllerGone() = 0;
+
+ protected:
+ SaveCardBubbleView() {}
+ virtual ~SaveCardBubbleView() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleView);
+};
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_
« no previous file with comments | « chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698