summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/browser_dialogs.h
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 20:43:16 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 20:43:16 +0000
commit51a4dc719239e4c22b64fc641251443f09022300 (patch)
tree2e5267a7c934c305ae8f3147ffdc4be847ce3189 /chrome/browser/ui/views/browser_dialogs.h
parent0edfffdee7e6b18247190e1aec262a711fa9aa3f (diff)
downloadchromium_src-51a4dc719239e4c22b64fc641251443f09022300.zip
chromium_src-51a4dc719239e4c22b64fc641251443f09022300.tar.gz
chromium_src-51a4dc719239e4c22b64fc641251443f09022300.tar.bz2
Rebase BookmarkBubble on the new views bubble.
Use a View instead of a Point for anchoring the bubble. Remove the now unused IDS_BOOKMARK_BUBBLE_ADD_BOOKMARK. Remove the unused BubbleDelegate base class from StarView. BUG=97248,98312,98323 TEST=Bookmark bubble has the same behavior/appearance. Review URL: http://codereview.chromium.org/8368016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/browser_dialogs.h')
-rw-r--r--chrome/browser/ui/views/browser_dialogs.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/ui/views/browser_dialogs.h b/chrome/browser/ui/views/browser_dialogs.h
index f0f0026..2d3492c 100644
--- a/chrome/browser/ui/views/browser_dialogs.h
+++ b/chrome/browser/ui/views/browser_dialogs.h
@@ -22,27 +22,24 @@ class EditSearchEngineControllerDelegate;
class Extension;
class FindBar;
class GURL;
-class BubbleDelegate;
class Profile;
class TabContents;
class TabContentsWrapper;
class TemplateURL;
namespace gfx {
-class Rect;
class Size;
}
namespace views {
+class View;
class Widget;
}
namespace browser {
// Shows or hides the global bookmark bubble for the star button.
-void ShowBookmarkBubbleView(views::Widget* parent,
- const gfx::Rect& bounds,
- BubbleDelegate* delegate,
+void ShowBookmarkBubbleView(views::View* anchor_view,
Profile* profile,
const GURL& url,
bool newly_bookmarked);