diff options
author | benrg@chromium.org <benrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-08 18:29:07 +0000 |
---|---|---|
committer | benrg@chromium.org <benrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-08 18:29:07 +0000 |
commit | 01632e66fba4212e7e0ac5773ced0c4c1cc94564 (patch) | |
tree | b06f3fd4cf08f13859b33559da2e51310d9cfbc7 /ui/gfx | |
parent | be9cc1e25193726e62de79bdfa0d3afb65fd0ac7 (diff) | |
download | chromium_src-01632e66fba4212e7e0ac5773ced0c4c1cc94564.zip chromium_src-01632e66fba4212e7e0ac5773ced0c4c1cc94564.tar.gz chromium_src-01632e66fba4212e7e0ac5773ced0c4c1cc94564.tar.bz2 |
move NativeThemeChromeos into gfx:: namespace
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8491022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109057 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx')
-rw-r--r-- | ui/gfx/native_theme_chromeos.cc | 7 | ||||
-rw-r--r-- | ui/gfx/native_theme_chromeos.h | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/ui/gfx/native_theme_chromeos.cc b/ui/gfx/native_theme_chromeos.cc index b41b383..c80c5ed 100644 --- a/ui/gfx/native_theme_chromeos.cc +++ b/ui/gfx/native_theme_chromeos.cc @@ -230,8 +230,10 @@ void GetRadioIndicatorGradientPaint(const gfx::Rect bounds, } // namespace +namespace gfx { + // static -const gfx::NativeTheme* gfx::NativeTheme::instance() { +const NativeTheme* NativeTheme::instance() { return NativeThemeChromeos::instance(); } @@ -759,3 +761,6 @@ void NativeThemeChromeos::PaintButtonLike(SkCanvas* canvas, canvas->drawPath(border, stroke_paint); } } + +} // namespace gfx + diff --git a/ui/gfx/native_theme_chromeos.h b/ui/gfx/native_theme_chromeos.h index 9029cc7..183abf9 100644 --- a/ui/gfx/native_theme_chromeos.h +++ b/ui/gfx/native_theme_chromeos.h @@ -11,7 +11,9 @@ class SkBitmap; -class NativeThemeChromeos : public gfx::NativeThemeBase { +namespace gfx { + +class NativeThemeChromeos : public NativeThemeBase { public: static const NativeThemeChromeos* instance(); @@ -101,4 +103,6 @@ class NativeThemeChromeos : public gfx::NativeThemeBase { DISALLOW_COPY_AND_ASSIGN(NativeThemeChromeos); }; +} // namespace gfx + #endif // UI_GFX_NATIVE_THEME_CHROMEOS_H_ |