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

Unified Diff: base/gfx/gtk_util.cc

Issue 49035: Linux UI theming:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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
Index: base/gfx/gtk_util.cc
===================================================================
--- base/gfx/gtk_util.cc (revision 12503)
+++ base/gfx/gtk_util.cc (working copy)
@@ -12,8 +12,11 @@
namespace gfx {
+const GdkColor kGdkWhite = GDK_COLOR_RGB(0xff, 0xff, 0xff);
+const GdkColor kGdkBlack = GDK_COLOR_RGB(0x00, 0x00, 0x00);
+
void SubtractRectanglesFromRegion(GdkRegion* region,
- const std::vector<gfx::Rect>& cutouts) {
+ const std::vector<Rect>& cutouts) {
for (size_t i = 0; i < cutouts.size(); ++i) {
GdkRectangle rect = cutouts[i].ToGdkRectangle();
GdkRegion* rect_region = gdk_region_rectangle(&rect);

Powered by Google App Engine
This is Rietveld 408576698