diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-30 13:36:03 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-30 13:36:03 +0000 |
commit | fe22cf1bc5381cd094d03328548ac50f642ed5a5 (patch) | |
tree | 1f2d809dffea5fea7d3501ce72d65d26323d6e18 | |
parent | 1b463bdf07e07b9607618a13a4dcd469147daff6 (diff) | |
download | chromium_src-fe22cf1bc5381cd094d03328548ac50f642ed5a5.zip chromium_src-fe22cf1bc5381cd094d03328548ac50f642ed5a5.tar.gz chromium_src-fe22cf1bc5381cd094d03328548ac50f642ed5a5.tar.bz2 |
Fix clang style plugin problems.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7083023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87235 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/cocoa/download/background_theme.h | 15 | ||||
-rw-r--r-- | chrome/browser/ui/cocoa/download/background_theme.mm | 26 |
2 files changed, 34 insertions, 7 deletions
diff --git a/chrome/browser/ui/cocoa/download/background_theme.h b/chrome/browser/ui/cocoa/download/background_theme.h index ee778b6..46091f9 100644 --- a/chrome/browser/ui/cocoa/download/background_theme.h +++ b/chrome/browser/ui/cocoa/download/background_theme.h @@ -14,14 +14,15 @@ class BackgroundTheme : public ui::ThemeProvider { public: BackgroundTheme(ui::ThemeProvider* provider); + virtual ~BackgroundTheme(); - virtual void Init(Profile* profile) { } - virtual SkBitmap* GetBitmapNamed(int id) const { return nil; } - virtual SkColor GetColor(int id) const { return SkColor(); } - virtual bool GetDisplayProperty(int id, int* result) const { return false; } - virtual bool ShouldUseNativeFrame() const { return false; } - virtual bool HasCustomImage(int id) const { return false; } - virtual RefCountedMemory* GetRawData(int id) const { return NULL; } + virtual void Init(Profile* profile) {} + virtual SkBitmap* GetBitmapNamed(int id) const; + virtual SkColor GetColor(int id) const; + virtual bool GetDisplayProperty(int id, int* result) const; + virtual bool ShouldUseNativeFrame() const; + virtual bool HasCustomImage(int id) const; + virtual RefCountedMemory* GetRawData(int id) const; virtual NSImage* GetNSImageNamed(int id, bool allow_default) const; virtual NSColor* GetNSImageColorNamed(int id, bool allow_default) const; virtual NSColor* GetNSColor(int id, bool allow_default) const; diff --git a/chrome/browser/ui/cocoa/download/background_theme.mm b/chrome/browser/ui/cocoa/download/background_theme.mm index cc9775bd..1becbab 100644 --- a/chrome/browser/ui/cocoa/download/background_theme.mm +++ b/chrome/browser/ui/cocoa/download/background_theme.mm @@ -25,6 +25,32 @@ BackgroundTheme::BackgroundTheme(ui::ThemeProvider* provider) : initWithColors:[NSArray arrayWithObject:clickedColor]]); } +BackgroundTheme::~BackgroundTheme() {} + +SkBitmap* BackgroundTheme::GetBitmapNamed(int id) const { + return nil; +} + +SkColor BackgroundTheme::GetColor(int id) const { + return SkColor(); +} + +bool BackgroundTheme::GetDisplayProperty(int id, int* result) const { + return false; +} + +bool BackgroundTheme::ShouldUseNativeFrame() const { + return false; +} + +bool BackgroundTheme::HasCustomImage(int id) const { + return false; +} + +RefCountedMemory* BackgroundTheme::GetRawData(int id) const { + return NULL; +} + NSImage* BackgroundTheme::GetNSImageNamed(int id, bool allow_default) const { return nil; } |