summaryrefslogtreecommitdiffstats
path: root/ui/base/gtk
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 01:34:35 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-24 01:34:35 +0000
commite9205d0f189346170e0b5c9bf43a757c4b373953 (patch)
tree8e3e2f1255826507002a3cba2288c9f8f7156372 /ui/base/gtk
parent2d35dad42c29af3bc9f58879f8e51e3eebadd341 (diff)
downloadchromium_src-e9205d0f189346170e0b5c9bf43a757c4b373953.zip
chromium_src-e9205d0f189346170e0b5c9bf43a757c4b373953.tar.gz
chromium_src-e9205d0f189346170e0b5c9bf43a757c4b373953.tar.bz2
gtk: Factor gray color into a constant and place it into a common location.
So it can be shared, instead of being duplicated everywhere. R=erg@chromium.org Review URL: https://chromiumcodereview.appspot.com/9442036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/gtk')
-rw-r--r--ui/base/gtk/gtk_hig_constants.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/base/gtk/gtk_hig_constants.h b/ui/base/gtk/gtk_hig_constants.h
index 96694c4..a2827fe 100644
--- a/ui/base/gtk/gtk_hig_constants.h
+++ b/ui/base/gtk/gtk_hig_constants.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -26,9 +26,10 @@ namespace ui {
// Multiply uint8 color components by this.
const int kSkiaToGDKMultiplier = 257;
-// Named color constants.
-const GdkColor kGdkWhite = GDK_COLOR_RGB(0xff, 0xff, 0xff);
+// Common color constants.
+const GdkColor kGdkWhite = GDK_COLOR_RGB(0xFF, 0xFF, 0xFF);
const GdkColor kGdkBlack = GDK_COLOR_RGB(0x00, 0x00, 0x00);
+const GdkColor kGdkGray = GDK_COLOR_RGB(0x7F, 0x7F, 0x7F);
// Constants relating to the layout of dialog windows:
// (See http://library.gnome.org/devel/hig-book/stable/design-window.html.en)
@@ -53,5 +54,4 @@ const int kFormControlSpacing = 10;
} // namespace ui
-
#endif // UI_BASE_GTK_GTK_HIG_CONSTANTS_H_