Chromium Code Reviews| Index: chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h |
| diff --git a/chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h b/chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h |
| index e063fc8f82640286c025c26ff417ff4f858b49c3..d8a7c0b1e9c56dc6d83a43067d201c12799e27d7 100644 |
| --- a/chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h |
| +++ b/chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h |
| @@ -27,13 +27,21 @@ class PermissionBubbleCocoa : public PermissionBubbleView { |
| const std::vector<bool>& accept_state, |
| bool customization_mode) OVERRIDE; |
| virtual void Hide() OVERRIDE; |
| + virtual bool IsVisible() OVERRIDE; |
| virtual void SetDelegate(Delegate* delegate) OVERRIDE; |
| virtual bool CanAcceptRequestUpdate() OVERRIDE; |
| // Called when |bubbleController_| is closing. |
| void OnBubbleClosing(); |
| - private: |
| + // Returns the point, in screen coordinates, to which the bubble's arrow |
| + // should point. |
| + NSPoint AnchorPoint(); |
|
Robert Sesek
2014/07/14 14:13:32
naming: GetAnchorPoint()
leng
2014/07/14 18:17:24
Done.
|
| + |
| + // Returns the NSWindow containing the bubble. |
| + NSWindow* window(); |
| + |
| +private: |
| NSWindow* parent_window_; // Weak. |
| Delegate* delegate_; // Weak. |