summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/rounded_window.cc
Commit message (Collapse)AuthorAgeFilesLines
* GTK Theme: Don't render IDR_THEME_TOOLBAR on GtkWidgets.erg@google.com2009-09-081-0/+1
| | | | | | | | | | | | | | IDR_THEME_TOOLBAR is a generated blank image of the bg[SELECTED] color, which will be drawn by default on GtkWidgets. Uploading an image of said color to the X server on each expose and then asking it to tile the image across the widget is silly; stop doing it. Also sets clip rectangles correctly in a few places where we were using GdkGC instead of skia. Review URL: http://codereview.chromium.org/196044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25647 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Refactoring and rounds the "Search site for:" hint.erg@google.com2009-08-281-0/+213
Factor out common window rounding code from two places where it was used, generalize it, and use it to round the "Search site for:" hint in the location bar. Theoretically, people should be able to use this anywhere they need a window to have rounded corners. http://crbug.com/18310 Review URL: http://codereview.chromium.org/179026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24828 0039d316-1c4b-4281-b951-d872f2087c98