| Index: chrome/browser/ui/autofill/save_card_bubble_controller.h
|
| diff --git a/chrome/browser/ui/autofill/save_card_bubble_controller.h b/chrome/browser/ui/autofill/save_card_bubble_controller.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4f09a8a10f04c9dad79559c65f29d45168640866
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/autofill/save_card_bubble_controller.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 CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_H_
|
| +#define CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_H_
|
| +
|
| +#include "base/macros.h"
|
| +
|
| +namespace autofill {
|
| +
|
| +class SaveCardBubbleView;
|
| +
|
| +// Interface that exposes controller functionality to SaveCardBubbleView.
|
| +class SaveCardBubbleController {
|
| + public:
|
| + virtual void OnSaveButton() = 0;
|
| + virtual void OnCancelButton() = 0;
|
| + virtual void OnBubbleClosed() = 0;
|
| +
|
| + protected:
|
| + SaveCardBubbleController() {}
|
| + virtual ~SaveCardBubbleController() {}
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleController);
|
| +};
|
| +
|
| +} // namespace autofill
|
| +
|
| +#endif // CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_H_
|
|
|