summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/theme_helpers.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 07:35:32 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 07:35:32 +0000
commit213dac2f0bff9162502fe325b6ebb85a255efcb2 (patch)
tree3640cb1f19976e38677b8632537d2d41f8444d0f /chrome/browser/views/theme_helpers.h
parent6de53d401aa8dc6c7e0a9874c71a95ce88ade50d (diff)
downloadchromium_src-213dac2f0bff9162502fe325b6ebb85a255efcb2.zip
chromium_src-213dac2f0bff9162502fe325b6ebb85a255efcb2.tar.gz
chromium_src-213dac2f0bff9162502fe325b6ebb85a255efcb2.tar.bz2
Move browser/views to browser/ui/views
TBR=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/4694005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65508 0039d316-1c4b-4281-b951-d872f2087c98
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__