| Index: components/bubble/bubble_delegate.h
|
| diff --git a/components/bubble/bubble_delegate.h b/components/bubble/bubble_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..42758bd5629be863d48d32d543312715507080fd
|
| --- /dev/null
|
| +++ b/components/bubble/bubble_delegate.h
|
| @@ -0,0 +1,24 @@
|
| +// 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_BUBBLE_BUBBLE_DELEGATE_H_
|
| +#define COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_
|
| +
|
| +class BubbleBuilder;
|
| +
|
| +class BubbleDelegate {
|
| + public:
|
| + BubbleDelegate() {}
|
| + virtual ~BubbleDelegate() {}
|
| +
|
| + virtual void OnShow() = 0;
|
| + virtual void OnHide() = 0;
|
| +
|
| + // TODO(hcarmona): remove this?
|
| + virtual void OnUpdatePosition() = 0;
|
| +
|
| + virtual void BuildBubble(BubbleBuilder* builder) = 0;
|
| +};
|
| +
|
| +#endif // COMPONENTS_BUBBLE_BUBBLE_DELEGATE_H_
|
|
|