| Index: components/bubble/bubble_ui.h
|
| diff --git a/components/bubble/bubble_ui.h b/components/bubble/bubble_ui.h
|
| index 5c52f4fb0675cc144dfce7a86437709761ea89b0..d887fb7228901c18bf7b2ed879c6d50e6d4220e3 100644
|
| --- a/components/bubble/bubble_ui.h
|
| +++ b/components/bubble/bubble_ui.h
|
| @@ -5,12 +5,15 @@
|
| #ifndef COMPONENTS_BUBBLE_BUBBLE_UI_H_
|
| #define COMPONENTS_BUBBLE_BUBBLE_UI_H_
|
|
|
| +#include "components/bubble/bubble_reference.h"
|
| +
|
| class BubbleUI {
|
| public:
|
| virtual ~BubbleUI() {}
|
|
|
| - // Should display the bubble UI.
|
| - virtual void Show() = 0;
|
| + // Should display the bubble UI. BubbleReference is passed in so that the
|
| + // bubble UI can notify the BubbleManager if it needs to close.
|
| + virtual void Show(BubbleReference bubble_reference) = 0;
|
|
|
| // Should close the bubble UI.
|
| virtual void Close() = 0;
|
|
|