diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 23:16:21 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 23:16:21 +0000 |
commit | e5a99ff3bd91f5493e7916b9dca6b29429ce0f43 (patch) | |
tree | cc12f65483a8c95dcea331605cc84af3a7c18da6 /chrome/browser/gtk/bookmark_bar_gtk.cc | |
parent | 63e9985f427227c977c96d1105de6e251dfd7554 (diff) | |
download | chromium_src-e5a99ff3bd91f5493e7916b9dca6b29429ce0f43.zip chromium_src-e5a99ff3bd91f5493e7916b9dca6b29429ce0f43.tar.gz chromium_src-e5a99ff3bd91f5493e7916b9dca6b29429ce0f43.tar.bz2 |
Move bitmap conversion function from chrome/common/gtk_utils.h into app/gfx/gtk_utils.h
http://crbug.com/11387
Review URL: http://codereview.chromium.org/115382
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_bar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/bookmark_bar_gtk.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc index ebfe567..649c2c64 100644 --- a/chrome/browser/gtk/bookmark_bar_gtk.cc +++ b/chrome/browser/gtk/bookmark_bar_gtk.cc @@ -4,6 +4,7 @@ #include "chrome/browser/gtk/bookmark_bar_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/gfx/text_elider.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" @@ -95,7 +96,7 @@ void BookmarkBarGtk::Init(Profile* profile) { static GdkPixbuf* folder_icon = rb.GetPixbufNamed(IDR_BOOKMARK_BAR_FOLDER); bookmark_hbox_ = gtk_hbox_new(FALSE, 0); - container_.Own(gfx::CreateGtkBorderBin(bookmark_hbox_, &kBackgroundColor, + container_.Own(gtk_util::CreateGtkBorderBin(bookmark_hbox_, &kBackgroundColor, kBarPadding, kBarPadding, kBarPadding, kBarPadding)); instructions_ = @@ -273,7 +274,7 @@ void BookmarkBarGtk::SetInstructionState(BookmarkNode* boomarks_bar_node) { } void BookmarkBarGtk::RemoveAllBookmarkButtons() { - gfx::RemoveAllChildren(bookmark_toolbar_.get()); + gtk_util::RemoveAllChildren(bookmark_toolbar_.get()); } int BookmarkBarGtk::GetBookmarkButtonCount() { |