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

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

Issue 23033016: Remove autocheckout code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even more deletes, and Ilya review. 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/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_

Powered by Google App Engine
This is Rietveld 408576698