Index: chrome/browser/ui/browser_dialogs.h |
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h |
index ddb7bc0a216fc0a0f62b936634e5749365785318..fd1f783e48640f311e454eb7860d65a6d638a036 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 |