summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/theme_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/theme_helpers.h')
-rw-r--r--chrome/browser/views/theme_helpers.h29
1 files changed, 6 insertions, 23 deletions
diff --git a/chrome/browser/views/theme_helpers.h b/chrome/browser/views/theme_helpers.h
index 68ea077..b7bd4f2 100644
--- a/chrome/browser/views/theme_helpers.h
+++ b/chrome/browser/views/theme_helpers.h
@@ -1,30 +1,13 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
-#ifndef CHROME_BROWSER_VIEWS_THEME_HELPERS_H__
-#define CHROME_BROWSER_VIEWS_THEME_HELPERS_H__
+#ifndef CHROME_BROWSER_VIEWS_THEME_HELPERS_H_
+#define CHROME_BROWSER_VIEWS_THEME_HELPERS_H_
#pragma once
-#include <windows.h>
+#include "chrome/browser/ui/views/theme_helpers.h"
+// TODO(beng): remove this file once all includes have been updated.
-#include "third_party/skia/include/core/SkColor.h"
+#endif // CHROME_BROWSER_VIEWS_THEME_HELPERS_H_
-// Get the colors at two points on a Rebar background gradient. This is for
-// drawing Rebar like backgrounds in Views. The reason not to just use
-// DrawThemeBackground is that it only draws horizontally, but by extracting
-// the colors at two points on the X axis of a background drawn
-// by DrawThemeBackground, we can construct a LinearGradientBrush and draw
-// such a gradient in any direction.
-//
-// The width parameter is the width of horizontal gradient that will be
-// created to calculate the two colors. x1 and x2 are the two pixel positions
-// along the X axis.
-void GetRebarGradientColors(int width, int x1, int x2,
- SkColor* c1, SkColor* c2);
-
-
-// Gets the color used to draw dark (inset beveled) lines.
-void GetDarkLineColor(SkColor* dark_color);
-
-#endif // CHROME_BROWSER_VIEWS_THEME_HELPERS_H__