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

Unified Diff: gfx/insets.h

Issue 6249022: Make the gtk download shelf autoclose on mouse out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 11 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
Index: gfx/insets.h
diff --git a/gfx/insets.h b/gfx/insets.h
index ba6cb583f45e1a4b8e367c178faa26fefc87e10b..1ac9ff961a03adc6dccb47aaf4aa672bfe42942f 100644
--- a/gfx/insets.h
+++ b/gfx/insets.h
@@ -29,6 +29,16 @@ class Insets {
left_(left),
bottom_(bottom),
right_(right) {}
+ Insets(int top_bottom, int left_right)
sky 2011/01/31 17:14:04 Are you even using the two constructors you're add
Evan Stade 2011/01/31 18:59:49 well I did at first, but then I changed my mind. I
sky 2011/01/31 20:36:25 Given that no one is using them, I say nuke them.
+ : top_(top_bottom),
+ left_(left_right),
+ bottom_(top_bottom),
+ right_(left_right) {}
+ Insets(int inset)
sky 2011/01/31 17:14:04 explicit
Evan Stade 2011/01/31 18:59:49 Done.
+ : top_(inset),
+ left_(inset),
+ bottom_(inset),
+ right_(inset) {}
#if defined(OS_POSIX) && !defined(OS_MACOSX)
explicit Insets(const GtkBorder& border)
: top_(border.top),
« chrome/browser/ui/gtk/download_shelf_gtk.cc ('K') | « chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698