| Index: chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h b/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h
|
| deleted file mode 100644
|
| index b25616a84acdbc59d42de98fbac59abb91cabb20..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.h
|
| +++ /dev/null
|
| @@ -1,58 +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_COCOA_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_COCOA_H_
|
| -#define CHROME_BROWSER_UI_COCOA_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_COCOA_H_
|
| -
|
| -#include "base/mac/scoped_nsobject.h"
|
| -#include "chrome/browser/ui/autofill/generated_credit_card_bubble_view.h"
|
| -
|
| -#ifdef __OBJC__
|
| -@class GeneratedCreditCardBubbleControllerCocoa;
|
| -#else
|
| -class GeneratedCreditCardBubbleControllerCocoa;
|
| -#endif
|
| -
|
| -namespace autofill {
|
| -
|
| -class GeneratedCreditCardBubbleCocoa : public GeneratedCreditCardBubbleView {
|
| - public:
|
| - ~GeneratedCreditCardBubbleCocoa() override;
|
| -
|
| - // GeneratedCreditCardBubbleView interface.
|
| - void Show() override;
|
| - void Hide() override;
|
| - bool IsHiding() const override;
|
| -
|
| - // Callbacks.
|
| - void OnBubbleClosing();
|
| - void OnLinkClicked();
|
| -
|
| - base::WeakPtr<GeneratedCreditCardBubbleController> controller() {
|
| - return controller_;
|
| - }
|
| -
|
| - private:
|
| - explicit GeneratedCreditCardBubbleCocoa(
|
| - const base::WeakPtr<GeneratedCreditCardBubbleController>& controller);
|
| - friend base::WeakPtr<GeneratedCreditCardBubbleView>
|
| - GeneratedCreditCardBubbleView::Create(
|
| - const base::WeakPtr<GeneratedCreditCardBubbleController>& controller);
|
| -
|
| - // Cocoa-side controller for the bubble. Not owned.
|
| - GeneratedCreditCardBubbleControllerCocoa* bubbleController_;
|
| -
|
| - // Controller that drives this bubble. May be invalid when hiding.
|
| - base::WeakPtr<GeneratedCreditCardBubbleController> controller_;
|
| -
|
| - // Factory to vend WeakPtr's to |this|.
|
| - base::WeakPtrFactory<GeneratedCreditCardBubbleCocoa> weak_ptr_factory_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(GeneratedCreditCardBubbleCocoa);
|
| -};
|
| -
|
| -} // namespace autofill
|
| -
|
| -#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_GENERATED_CREDIT_CARD_BUBBLE_COCOA_H_
|
| -
|
|
|