Chromium Code Reviews| Index: components/bubble/bubble_controller.h |
| diff --git a/components/bubble/bubble_controller.h b/components/bubble/bubble_controller.h |
| index bd87d2dc7f86d68bc2654f6cbdb6edce4e2feb26..c934059261187ef5a059d86fc5f7120d25d1a437 100644 |
| --- a/components/bubble/bubble_controller.h |
| +++ b/components/bubble/bubble_controller.h |
| @@ -23,6 +23,9 @@ class BubbleController : public base::SupportsWeakPtr<BubbleController> { |
| // Calls CloseBubble on the associated BubbleManager. |
| bool CloseBubble(BubbleCloseReason reason); |
| + // Calls UpdateBubbleUI on the associated BubbleManager. |
| + bool UpdateBubbleUI(); |
|
groby-ooo-7-16
2015/09/03 17:30:01
Naming convention would make this UpdateBubbleUi.
hcarmona
2015/09/03 18:05:54
Fixed everywhere.
|
| + |
| private: |
| friend class BubbleManager; |
| @@ -37,6 +40,9 @@ class BubbleController : public base::SupportsWeakPtr<BubbleController> { |
| // Returns true if the bubble was closed. |
| bool ShouldClose(BubbleCloseReason reason); |
| + // Called by BubbleManager to notify the bubble to update its UI. |
| + bool UpdateBubbleUIInternal(); |
| + |
| BubbleManager* manager_; |
| scoped_ptr<BubbleDelegate> delegate_; |
| scoped_ptr<BubbleUI> bubble_ui_; |