summaryrefslogtreecommitdiffstats
path: root/ui/base
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-10 01:24:46 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-10 01:24:46 +0000
commit4079fe0c96cab5c0acc98f583e0ea84281005862 (patch)
treedc2bff82087cee359d1dfde872fbc4e9093f9971 /ui/base
parentc0168829d01a23fece5ed1fd93bd3b6ef6326e1c (diff)
downloadchromium_src-4079fe0c96cab5c0acc98f583e0ea84281005862.zip
chromium_src-4079fe0c96cab5c0acc98f583e0ea84281005862.tar.gz
chromium_src-4079fe0c96cab5c0acc98f583e0ea84281005862.tar.bz2
Refactor window frame painting into a window background class
We currently have several copies of the code that draws the non-client frame area of windows, including OpaqueBrowserFrameView, ConstrainedWindowFrameViews, CustomFrameView, and others. We need yet another version for Aura. Rather than make another copy I'm trying to refactor out the common drawing code. This is step 1, creating a views::FrameBackground class and using it in two cases. BUG=102797 TEST=visual, try normal frame, install a theme, open a constrained window like cookie > Show cookies and other site data, open a popup from popuptest.com Review URL: http://codereview.chromium.org/8772060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base')
-rw-r--r--ui/base/resource/resource_bundle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
index a396be0..84bc5d5 100644
--- a/ui/base/resource/resource_bundle.h
+++ b/ui/base/resource/resource_bundle.h
@@ -27,7 +27,9 @@
#include "ui/gfx/native_widget_types.h"
class SkBitmap;
-typedef uint32 SkColor;
+// Don't use uint32 or uint32_t here because Eclipse's indexer gets confused.
+// This can be removed when the static colors are moved to ThemeProvider.
+typedef unsigned int SkColor;
namespace base {
class Lock;