Chromium Code Reviews| Index: components/autofill/core/browser/ui/save_card_bubble_controller.h |
| diff --git a/components/autofill/core/browser/ui/save_card_bubble_controller.h b/components/autofill/core/browser/ui/save_card_bubble_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d54b031c07a4df7b2d4799d5e347110f90aa37c9 |
| --- /dev/null |
| +++ b/components/autofill/core/browser/ui/save_card_bubble_controller.h |
| @@ -0,0 +1,32 @@ |
| +// 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_CONTROLLER_H_ |
| +#define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SAVE_CARD_BUBBLE_CONTROLLER_H_ |
|
Evan Stade
2015/10/22 23:02:43
why is this in this directory?
bondd
2015/10/23 03:32:35
Done. Moved to chrome/browser/ui/autofill/
|
| + |
| +#include "base/macros.h" |
| + |
| +namespace autofill { |
| + |
| +class SaveCardBubbleView; |
| + |
| +// Interface for per-tab class to control the save credit card bubble and |
| +// Omnibox icon. |
|
Evan Stade
2015/10/22 23:02:43
this comment should be something like
"Interface
bondd
2015/10/23 03:32:35
Done.
|
| +class SaveCardBubbleController { |
| + public: |
| + // Functions called by SaveCardBubbleView. |
| + virtual void OnSaveButton() = 0; |
| + virtual void OnCancelButton() = 0; |
| + virtual void OnBubbleClosed() = 0; |
| + |
| + protected: |
| + SaveCardBubbleController() {} |
| + virtual ~SaveCardBubbleController() {} |
| + |
| + DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleController); |
| +}; |
| + |
| +} // namespace autofill |
| + |
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_UI_SAVE_CARD_BUBBLE_CONTROLLER_H_ |