Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4085)

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 1308713002: [Mac] Enable MacViews bookmark bubble behind --enable-mac-views-dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pulse
Patch Set: Address comments. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 1cbba2d7f35967f17f056e29e4593cb7461ce625..a0e85be0196eb0e21b3f1b23bf1cf80e05036043 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -16,6 +16,10 @@ class LoginHandler;
class Profile;
class SkBitmap;
+namespace bookmarks {
+class BookmarkBubbleObserver;
+}
+
namespace content {
class BrowserContext;
class ColorChooser;
@@ -95,6 +99,16 @@ void ShowWebsiteSettingsBubbleViewsAtPoint(const gfx::Point& anchor_point,
const GURL& url,
const content::SSLStatus& ssl);
+// Show a Views bookmark bubble at the given point. This occurs when the
+// bookmark star is clicked or "Bookmark This Page..." is selected from a menu
+// or via a key equivalent.
+void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point,
+ gfx::NativeView parent,
+ bookmarks::BookmarkBubbleObserver* observer,
+ Browser* browser,
+ const GURL& url,
+ bool newly_bookmarked);
+
#endif // OS_MACOSX
#if defined(TOOLKIT_VIEWS)
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698