blob: ddda38d77deed678addec1533da05a415c7d0e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// 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_AUTOFILL_AUTOCHECKOUT_BUBBLE_H_
#define CHROME_BROWSER_UI_AUTOFILL_AUTOCHECKOUT_BUBBLE_H_
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
namespace autofill {
class AutocheckoutBubbleController;
class AutocheckoutBubble : public base::SupportsWeakPtr<AutocheckoutBubble> {
public:
virtual ~AutocheckoutBubble();
// Show the Autocheckout bubble.
virtual void ShowBubble() = 0;
// Hide the Autocheckout bubble.
virtual void HideBubble() = 0;
// Creates the Autocheckout bubble. The returned bubble owns itself.
static base::WeakPtr<AutocheckoutBubble> Create(
scoped_ptr<AutocheckoutBubbleController> controller);
};
} // namespace autofill
#endif // CHROME_BROWSER_UI_AUTOFILL_AUTOCHECKOUT_BUBBLE_H_
|