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

Unified Diff: views/widget/default_theme_provider.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
Index: views/widget/default_theme_provider.h
diff --git a/views/widget/default_theme_provider.h b/views/widget/default_theme_provider.h
index c407f7d60567fdd8434e00309159cab3c9906c3d..9d0ec5246dafbb343a187236c7cd061716ff8ef6 100644
--- a/views/widget/default_theme_provider.h
+++ b/views/widget/default_theme_provider.h
@@ -22,20 +22,17 @@ namespace views {
class DefaultThemeProvider : public ui::ThemeProvider {
public:
- DefaultThemeProvider() { };
- virtual ~DefaultThemeProvider() { };
+ DefaultThemeProvider();
+ virtual ~DefaultThemeProvider();
// Overridden from ui::ThemeProvider.
- virtual void Init(Profile* profile) { }
+ virtual void Init(Profile* profile);
virtual SkBitmap* GetBitmapNamed(int id) const;
- virtual SkColor GetColor(int id) const {
- // Return debugging-blue.
- return 0xff0000ff;
- }
- virtual bool GetDisplayProperty(int id, int* result) const { return false; }
+ virtual SkColor GetColor(int id) const;
+ virtual bool GetDisplayProperty(int id, int* result) const;
virtual bool ShouldUseNativeFrame() const;
- virtual bool HasCustomImage(int id) const { return false; }
- virtual RefCountedMemory* GetRawData(int id) const { return NULL; }
+ virtual bool HasCustomImage(int id) const;
+ virtual RefCountedMemory* GetRawData(int id) const;
private:
DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);

Powered by Google App Engine
This is Rietveld 408576698