| Index: components/bubble/bubble_ui.h
|
| diff --git a/components/bubble/bubble_ui.h b/components/bubble/bubble_ui.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09bd5df700a0760636ab4457c4fd11390e8b6f73
|
| --- /dev/null
|
| +++ b/components/bubble/bubble_ui.h
|
| @@ -0,0 +1,27 @@
|
| +// 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_UI_H_
|
| +#define COMPONENTS_BUBBLE_BUBBLE_UI_H_
|
| +
|
| +class BubbleUI {
|
| + public:
|
| + virtual ~BubbleUI() {}
|
| +
|
| + private:
|
| + friend class BubbleController;
|
| +
|
| + // These methods should only be called by the BubbleController.
|
| +
|
| + // Should display the bubble UI
|
| + virtual void Show() = 0;
|
| +
|
| + // Should hide the bubble UI
|
| + virtual void Hide() = 0;
|
| +
|
| + // Should update the bubble UI's position
|
| + virtual void UpdateAnchorPosition() = 0;
|
| +};
|
| +
|
| +#endif // COMPONENTS_BUBBLE_BUBBLE_UI_H_
|
|
|