| Index: chrome/browser/ui/views/autofill/autocheckout_bubble_views.h
|
| diff --git a/chrome/browser/ui/views/autofill/autocheckout_bubble_views.h b/chrome/browser/ui/views/autofill/autocheckout_bubble_views.h
|
| deleted file mode 100644
|
| index 4177f2f4bfb84b2fab18f77c81b8a5d67bf4401a..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/views/autofill/autocheckout_bubble_views.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_VIEWS_AUTOFILL_AUTOCHECKOUT_BUBBLE_VIEWS_H_
|
| -#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOCHECKOUT_BUBBLE_VIEWS_H_
|
| -
|
| -#include "base/callback_forward.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| -#include "chrome/browser/ui/autofill/autocheckout_bubble.h"
|
| -#include "ui/views/bubble/bubble_delegate.h"
|
| -#include "ui/views/controls/button/button.h"
|
| -
|
| -namespace views {
|
| -class LabelButton;
|
| -}
|
| -
|
| -namespace autofill {
|
| -
|
| -class AutocheckoutBubbleController;
|
| -
|
| -// A bubble for prompting a user to use Autocheckout to fill forms for them.
|
| -// The bubble is only displayed when the Autofill server hints that the current
|
| -// page is the start of an Autocheckout flow.
|
| -class AutocheckoutBubbleViews : public views::BubbleDelegateView,
|
| - public views::ButtonListener,
|
| - public AutocheckoutBubble {
|
| - public:
|
| - AutocheckoutBubbleViews(scoped_ptr<AutocheckoutBubbleController> controller,
|
| - views::View* anchor_view);
|
| -
|
| - // AutocheckoutBubble:
|
| - virtual void ShowBubble() OVERRIDE;
|
| - virtual void HideBubble() OVERRIDE;
|
| -
|
| - private:
|
| - virtual ~AutocheckoutBubbleViews();
|
| -
|
| - // views::BubbleDelegateView:
|
| - virtual void Init() OVERRIDE;
|
| - virtual gfx::Rect GetAnchorRect() OVERRIDE;
|
| - virtual void OnWidgetBoundsChanged(views::Widget* widget,
|
| - const gfx::Rect& new_bounds) OVERRIDE;
|
| -
|
| - // views::ButtonListener:
|
| - virtual void ButtonPressed(views::Button* sender,
|
| - const ui::Event& event) OVERRIDE;
|
| -
|
| - scoped_ptr<AutocheckoutBubbleController> controller_;
|
| - views::Button* ok_button_; // weak
|
| - views::LabelButton* cancel_button_; // weak
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(AutocheckoutBubbleViews);
|
| -};
|
| -
|
| -} // namespace autofill
|
| -
|
| -#endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOCHECKOUT_BUBBLE_VIEWS_H_
|
|
|