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

Side by Side Diff: chrome/browser/gtk/bookmark_utils_gtk.cc

Issue 155019: Change some numbers on the gtk bookmark bar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gtk/bookmark_bar_gtk.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/gtk/bookmark_utils_gtk.h" 5 #include "chrome/browser/gtk/bookmark_utils_gtk.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/gfx/gtk_util.h" 8 #include "base/gfx/gtk_util.h"
9 #include "base/pickle.h" 9 #include "base/pickle.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 29 matching lines...) Expand all
40 void* AsVoid(const BookmarkNode* node) { 40 void* AsVoid(const BookmarkNode* node) {
41 return const_cast<BookmarkNode*>(node); 41 return const_cast<BookmarkNode*>(node);
42 } 42 }
43 43
44 } // namespace 44 } // namespace
45 45
46 namespace bookmark_utils { 46 namespace bookmark_utils {
47 47
48 const char kBookmarkNode[] = "bookmark-node"; 48 const char kBookmarkNode[] = "bookmark-node";
49 49
50 const int kBarButtonPadding = 2; 50 const int kBarButtonPadding = 4;
51 51
52 GdkPixbuf* GetFolderIcon() { 52 GdkPixbuf* GetFolderIcon() {
53 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); 53 ResourceBundle& rb = ResourceBundle::GetSharedInstance();
54 static GdkPixbuf* default_folder_icon = rb.GetPixbufNamed( 54 static GdkPixbuf* default_folder_icon = rb.GetPixbufNamed(
55 IDR_BOOKMARK_BAR_FOLDER); 55 IDR_BOOKMARK_BAR_FOLDER);
56 return default_folder_icon; 56 return default_folder_icon;
57 } 57 }
58 58
59 GdkPixbuf* GetDefaultFavicon() { 59 GdkPixbuf* GetDefaultFavicon() {
60 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); 60 ResourceBundle& rb = ResourceBundle::GetSharedInstance();
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 default: { 210 default: {
211 DLOG(ERROR) << "Unsupported drag received type: " << target_type; 211 DLOG(ERROR) << "Unsupported drag received type: " << target_type;
212 } 212 }
213 } 213 }
214 } 214 }
215 215
216 return std::vector<const BookmarkNode*>(); 216 return std::vector<const BookmarkNode*>();
217 } 217 }
218 218
219 } // namespace bookmark_utils 219 } // namespace bookmark_utils
OLDNEW
« no previous file with comments | « chrome/browser/gtk/bookmark_bar_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698