summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/toolbar_star_toggle_gtk.h
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 19:16:59 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 19:16:59 +0000
commita1e071118b7ed757f2c975a8fe188fdbe80fcdd1 (patch)
treebbceb7d5265f89f5f9598658860ca775e0bdded6 /chrome/browser/gtk/toolbar_star_toggle_gtk.h
parent85408b7c5c652979acaf6e39d750b7e0aac579eb (diff)
downloadchromium_src-a1e071118b7ed757f2c975a8fe188fdbe80fcdd1.zip
chromium_src-a1e071118b7ed757f2c975a8fe188fdbe80fcdd1.tar.gz
chromium_src-a1e071118b7ed757f2c975a8fe188fdbe80fcdd1.tar.bz2
Implement more of the BookmarkBubble, connecting it to the bookmark system.
This allows you to edit the bookmark title, and remove the bookmark. BUG=11738 TEST=Click the bookmark star, you should be able to edit the bookmark title and remove the bookmark. Review URL: http://codereview.chromium.org/119079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/toolbar_star_toggle_gtk.h')
-rw-r--r--chrome/browser/gtk/toolbar_star_toggle_gtk.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/gtk/toolbar_star_toggle_gtk.h b/chrome/browser/gtk/toolbar_star_toggle_gtk.h
index dec5cd9..afa61a3 100644
--- a/chrome/browser/gtk/toolbar_star_toggle_gtk.h
+++ b/chrome/browser/gtk/toolbar_star_toggle_gtk.h
@@ -11,12 +11,13 @@
#include "chrome/browser/gtk/custom_button.h"
#include "chrome/common/owned_widget_gtk.h"
+class BrowserToolbarGtk;
class GURL;
// Displays the bookmark star button, which toggles between two images.
class ToolbarStarToggleGtk {
public:
- ToolbarStarToggleGtk();
+ ToolbarStarToggleGtk(BrowserToolbarGtk* host);
~ToolbarStarToggleGtk();
// If the bubble isn't showing, shows it above the star button.
@@ -31,6 +32,9 @@ class ToolbarStarToggleGtk {
static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* e,
ToolbarStarToggleGtk* obj);
+ // The browser toolbar hosting this widget, for getting the current profile.
+ BrowserToolbarGtk* host_;
+
// The actual button widget.
OwnedWidgetGtk widget_;