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

Unified Diff: chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc

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: merge 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/test_autofill_credit_card_bubble.cc
diff --git a/chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc b/chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc
deleted file mode 100644
index 237b9699dc5cbae24c383463487bc3323b239add..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc
+++ /dev/null
@@ -1,40 +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.
-
-#include "chrome/browser/ui/autofill/test_autofill_credit_card_bubble.h"
-
-namespace autofill {
-
-// static
-base::WeakPtr<TestAutofillCreditCardBubble>
- TestAutofillCreditCardBubble::Create(
- const base::WeakPtr<AutofillCreditCardBubbleController>& controller) {
- return (new TestAutofillCreditCardBubble(controller))->GetWeakPtr();
-}
-
-TestAutofillCreditCardBubble::~TestAutofillCreditCardBubble() {}
-
-void TestAutofillCreditCardBubble::Show() {
- showing_ = true;
-}
-
-void TestAutofillCreditCardBubble::Hide() {
- delete this;
-}
-
-bool TestAutofillCreditCardBubble::IsHiding() const {
- return !showing_;
-}
-
-base::WeakPtr<TestAutofillCreditCardBubble>
- TestAutofillCreditCardBubble::GetWeakPtr() {
- return weak_ptr_factory_.GetWeakPtr();
-}
-
-TestAutofillCreditCardBubble::TestAutofillCreditCardBubble(
- const base::WeakPtr<AutofillCreditCardBubbleController>& controller)
- : showing_(false),
- weak_ptr_factory_(this) {}
-
-} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698