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

Unified Diff: chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h

Issue 1303733002: rAc Wallet extirpation, round 2: remove generated card bubble code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another reference Created 5 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/views/autofill/generated_credit_card_bubble_views.h
diff --git a/chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h b/chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h
deleted file mode 100644
index 94e7a3a3d56294be7f945f9938906d68e078648b..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h
+++ /dev/null
@@ -1,60 +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_VIEWS_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_VIEWS_H_
-#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_VIEWS_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/autofill/generated_credit_card_bubble_view.h"
-#include "ui/views/bubble/bubble_delegate.h"
-#include "ui/views/controls/styled_label_listener.h"
-
-namespace autofill {
-
-class GeneratedCreditCardBubbleController;
-
-// Views toolkit implementation of the GeneratedCreditCardBubbleView (an
-// educational bubble shown after a successful generation of a new credit card
-// number).
-class GeneratedCreditCardBubbleViews : public GeneratedCreditCardBubbleView,
- public views::BubbleDelegateView,
- public views::StyledLabelListener {
- public:
- ~GeneratedCreditCardBubbleViews() override;
-
- // GeneratedCreditCardBubbleView:
- void Show() override;
- void Hide() override;
- bool IsHiding() const override;
-
- // views::BubbleDelegateView:
- gfx::Size GetPreferredSize() const override;
- base::string16 GetWindowTitle() const override;
- void Init() override;
-
- // views::StyledLabelListener:
- void StyledLabelLinkClicked(const gfx::Range& range,
- int event_flags) override;
-
- private:
- friend base::WeakPtr<GeneratedCreditCardBubbleView>
- GeneratedCreditCardBubbleView::Create(
- const base::WeakPtr<GeneratedCreditCardBubbleController>& controller);
-
- explicit GeneratedCreditCardBubbleViews(
- const base::WeakPtr<GeneratedCreditCardBubbleController>& controller);
-
- // Controller that drives this bubble. May be invalid when hiding.
- base::WeakPtr<GeneratedCreditCardBubbleController> controller_;
-
- base::WeakPtrFactory<GeneratedCreditCardBubbleViews> weak_ptr_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(GeneratedCreditCardBubbleViews);
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_VIEWS_H_
« no previous file with comments | « chrome/browser/ui/location_bar/location_bar.h ('k') | chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698