Chromium Code Reviews| Index: components/autofill/core/browser/ui/save_card_bubble_view.h |
| diff --git a/components/autofill/core/browser/ui/save_card_bubble_view.h b/components/autofill/core/browser/ui/save_card_bubble_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6b11fa02ee6eeb44dbcb56a5c7171396439246bc |
| --- /dev/null |
| +++ b/components/autofill/core/browser/ui/save_card_bubble_view.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2015 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 COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SAVE_CARD_BUBBLE_VIEW_H_ |
| +#define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SAVE_CARD_BUBBLE_VIEW_H_ |
|
Evan Stade
2015/10/22 23:02:43
this file is also in the wrong directory. It's nev
bondd
2015/10/23 03:32:35
Done.
|
| + |
| +#include "base/macros.h" |
| + |
| +namespace autofill { |
| + |
| +// The cross-platform UI interface which displays the "Save credit card?" |
| +// bubble. This object is responsible for its own lifetime. |
| +class SaveCardBubbleView { |
| + public: |
| + virtual void Show() = 0; |
| + virtual void Close() = 0; |
| + virtual void ControllerGone() = 0; |
| + |
| + protected: |
| + SaveCardBubbleView() {} |
| + virtual ~SaveCardBubbleView() {} |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleView); |
| +}; |
| + |
| +} // namespace autofill |
| + |
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SAVE_CARD_BUBBLE_VIEW_H_ |