Index: chrome/browser/ui/browser_dialogs.h |
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h |
index 8288ff7805d9c640491b571ea5f7ad331800d70c..e2a00dd5775e22ca29b76051fa195a455b3f3cf3 100644 |
--- a/chrome/browser/ui/browser_dialogs.h |
+++ b/chrome/browser/ui/browser_dialogs.h |
@@ -13,6 +13,7 @@ |
#include "ui/gfx/native_widget_types.h" |
class Browser; |
+class ContentSettingBubbleModel; |
class GURL; |
class LoginHandler; |
class Profile; |
@@ -116,6 +117,22 @@ void ShowBookmarkEditorViews(gfx::NativeWindow parent_window, |
const BookmarkEditor::EditDetails& details, |
BookmarkEditor::Configuration configuration); |
+#if defined(OS_MACOSX) |
+ |
+// This is a class so that it can be friended from ContentSettingBubbleContents, |
+// which allows it to call SetAnchorRect(). |
+class ContentSettingBubbleViewsBridge { |
+ public: |
+ static void Show(gfx::NativeView parent_view, |
+ ContentSettingBubbleModel* model, |
+ content::WebContents* web_contents, |
+ const gfx::Point& anchor); |
+ private: |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge); |
+}; |
+ |
+#endif // OS_MACOSX |
+ |
#endif // TOOLKIT_VIEWS |
} // namespace chrome |