Chromium Code Reviews| Index: components/bubble/bubble_ui.h |
| diff --git a/components/bubble/bubble_ui.h b/components/bubble/bubble_ui.h |
| index 5c52f4fb0675cc144dfce7a86437709761ea89b0..96f9f92bad8b4cfd880df8dd6608f2492767ac05 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 bubbleReference) = 0; |
|
please use gerrit instead
2015/09/08 20:43:05
bubble_reference
hcarmona
2015/09/08 21:49:47
Done.
|
| // Should close the bubble UI. |
| virtual void Close() = 0; |