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

Unified Diff: base/gfx/gtk_util.h

Issue 46035: Improve the look of the Linux omnibox. (Closed)
Patch Set: Created 11 years, 9 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 | base/gfx/gtk_util.cc » ('j') | chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/gtk_util.h
diff --git a/base/gfx/gtk_util.h b/base/gfx/gtk_util.h
index 40a7855505c7461903b5e94d9c1eb3b8773a89ae..02b138572d9624fbebd7ce53c3e8739dd434a991 100755
--- a/base/gfx/gtk_util.h
+++ b/base/gfx/gtk_util.h
@@ -7,8 +7,10 @@
#include <vector>
+typedef struct _GdkColor GdkColor;
typedef struct _GdkPixbuf GdkPixbuf;
typedef struct _GdkRegion GdkRegion;
+typedef struct _GtkWidget GtkWidget;
class SkBitmap;
// Define a macro for creating GdkColors from RGB values. This is a macro to
@@ -28,6 +30,11 @@ void SubtractRectanglesFromRegion(GdkRegion* region,
// operation, all of the pixels must be copied and their order swapped.
GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap* bitmap);
+// Create a GtkBin with |child| as its child widget. This bin will paint a
+// border of color |color| with the sizes specified in pixels.
+GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color,
+ int top, int bottom, int left, int right);
Evan Martin 2009/03/13 16:33:29 I'm a little skeptical we'll use this too often.
+
} // namespace gfx
#endif // BASE_GFX_GTK_UTIL_H_
« no previous file with comments | « no previous file | base/gfx/gtk_util.cc » ('j') | chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698