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

Unified Diff: views/controls/label.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/controls/label.h
diff --git a/views/controls/label.h b/views/controls/label.h
index d9166597852c53682478b4f2605222811fe0bf49..1bb2b59b7072a612bbfe35b8ce081b0a9b3d5bbf 100644
--- a/views/controls/label.h
+++ b/views/controls/label.h
@@ -69,7 +69,7 @@ class Label : public View {
virtual void OnBoundsChanged();
// Returns views/Label.
- virtual std::string GetClassName() const { return kViewClassName; }
+ virtual std::string GetClassName() const;
// Overridden to paint
virtual void OnPaint(gfx::Canvas* canvas);
@@ -97,10 +97,10 @@ class Label : public View {
const GURL GetURL() const;
// Set the color
- virtual void SetColor(const SkColor& color) { color_ = color; }
+ virtual void SetColor(const SkColor& color);
// Return a reference to the currently used color.
- virtual SkColor GetColor() const { return color_; }
+ virtual SkColor GetColor() const;
// Set horizontal alignment. If the locale is RTL, and the RTL alignment
// setting is set as USE_UI_ALIGNMENT, the alignment is flipped around.

Powered by Google App Engine
This is Rietveld 408576698