Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / website_settings / permission_bubble_cocoa.h
index e063fc8..c770d4e 100644 (file)
@@ -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 GetAnchorPoint();
+
+  // Returns the NSWindow containing the bubble.
+  NSWindow* window();
+
+private:
   NSWindow* parent_window_;  // Weak.
   Delegate* delegate_;  // Weak.