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

Unified Diff: chrome/browser/ui/autofill/autofill_credit_card_bubble.h

Issue 21668003: Implement newly saved card bubble for realz and update generated card bubble to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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/autofill_credit_card_bubble.h
diff --git a/chrome/browser/ui/autofill/autofill_credit_card_bubble.h b/chrome/browser/ui/autofill/autofill_credit_card_bubble.h
deleted file mode 100644
index ba91afe3e1f2c2a0eea06e0d0606a4fba6f5d7b6..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/autofill/autofill_credit_card_bubble.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2013 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_AUTOFILL_CREDIT_CARD_BUBBLE_H_
-#define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_H_
-
-#include "base/memory/weak_ptr.h"
-
-namespace autofill {
-
-class AutofillCreditCardBubbleController;
-
-////////////////////////////////////////////////////////////////////////////////
-//
-// AutofillCreditCardBubble
-//
-// An interface to be implemented on each platform to show a bubble after the
-// Autofill dialog is sucessfully submitted. Shows anchored to an icon that
-// looks like a credit card or the Google Wallet logo in the omnibox. Hidden
-// when focus is lost.
-//
-////////////////////////////////////////////////////////////////////////////////
-class AutofillCreditCardBubble {
- public:
- // The preferred size of the bubble's contents.
- static const int kContentWidth;
-
- virtual ~AutofillCreditCardBubble();
-
- // Visually reveal the dialog bubble.
- virtual void Show() = 0;
-
- // Hide the bubble from view.
- virtual void Hide() = 0;
-
- // Whether the bubble is currently in the process of hiding itself.
- virtual bool IsHiding() const = 0;
-
- // Create a bubble view that's operated by |controller| and owned by the
- // platform's widget or view management framework. |controller| is invalid
- // while the bubble is closing.
- static base::WeakPtr<AutofillCreditCardBubble> Create(
- const base::WeakPtr<AutofillCreditCardBubbleController>& controller);
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CREDIT_CARD_BUBBLE_H_

Powered by Google App Engine
This is Rietveld 408576698