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

Unified Diff: chrome/browser/ui/gtk/gtk_theme_service.cc

Issue 7737001: content: Start splitting up chrome/browser/ui/gtk/gtk_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_theme_service.cc
diff --git a/chrome/browser/ui/gtk/gtk_theme_service.cc b/chrome/browser/ui/gtk/gtk_theme_service.cc
index a09d79a7bf7240f7f1b84dc837387de94b6c09fe..1326254b95a01d27f42a1bab51f8506ec4a34f90 100644
--- a/chrome/browser/ui/gtk/gtk_theme_service.cc
+++ b/chrome/browser/ui/gtk/gtk_theme_service.cc
@@ -36,6 +36,7 @@
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkShader.h"
+#include "ui/base/gtk/gtk_hig_constants.h"
#include "ui/base/gtk/gtk_signal_registrar.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/canvas_skia.h"
@@ -238,9 +239,9 @@ void BuildIconFromIDRWithColor(int id,
void GdkColorHSLShift(const color_utils::HSL& shift, GdkColor* frame_color) {
SkColor shifted = color_utils::HSLShift(GdkToSkColor(frame_color), shift);
frame_color->pixel = 0;
- frame_color->red = SkColorGetR(shifted) * kSkiaToGDKMultiplier;
- frame_color->green = SkColorGetG(shifted) * kSkiaToGDKMultiplier;
- frame_color->blue = SkColorGetB(shifted) * kSkiaToGDKMultiplier;
+ frame_color->red = SkColorGetR(shifted) * ui::kSkiaToGDKMultiplier;
+ frame_color->green = SkColorGetG(shifted) * ui::kSkiaToGDKMultiplier;
+ frame_color->blue = SkColorGetB(shifted) * ui::kSkiaToGDKMultiplier;
}
} // namespace
« no previous file with comments | « chrome/browser/ui/gtk/gtk_chrome_cookie_view.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698