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 de6816fcb6d9cca53ab606c0c97e70b30ca9b2be..140af2062a880dd7beb8864a1986c521b948315d 100644 |
--- a/chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h |
+++ b/chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h |
@@ -8,6 +8,7 @@ |
#include "base/mac/scoped_nsobject.h" |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
+#include "chrome/browser/ui/cocoa/info_bubble_view.h" |
#include "chrome/browser/ui/website_settings/permission_bubble_view.h" |
#include "content/public/browser/web_contents.h" |
@@ -43,7 +44,13 @@ class PermissionBubbleCocoa : public PermissionBubbleView { |
// Change the parent window to be used the next time the bubble is shown. |
void SwitchParentWindow(NSWindow* parent); |
-private: |
+ info_bubble::BubbleArrowLocation GetArrowLocation(); |
+ |
+ protected: |
+ // Should only be called in this class. Protected/virtual for ease of testing. |
+ virtual bool HasLocationBar(); |
+ |
+ private: |
NSWindow* parent_window_; // Weak. |
Delegate* delegate_; // Weak. |