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

Unified Diff: views/widget/default_theme_provider.cc

Issue 272033: Misc. cleanup for theme provider code, including:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « views/widget/default_theme_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/default_theme_provider.cc
===================================================================
--- views/widget/default_theme_provider.cc (revision 28595)
+++ views/widget/default_theme_provider.cc (working copy)
@@ -12,21 +12,10 @@
namespace views {
-void DefaultThemeProvider::Init(Profile* profile) {
-}
-
SkBitmap* DefaultThemeProvider::GetBitmapNamed(int id) {
return ResourceBundle::GetSharedInstance().GetBitmapNamed(id);
}
-SkColor DefaultThemeProvider::GetColor(int id) {
- // Return debugging-blue.
- return 0xff0000ff;
-}
-
-bool DefaultThemeProvider::GetDisplayProperty(int id, int* result) {
- return false;
-}
bool DefaultThemeProvider::ShouldUseNativeFrame() {
#if defined(OS_WIN)
return win_util::ShouldUseVistaFrame();
@@ -35,7 +24,4 @@
#endif
}
-bool DefaultThemeProvider::HasCustomImage(int id) {
- return false;
-}
} // namespace views
Property changes on: views\widget\default_theme_provider.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « views/widget/default_theme_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698