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

Unified Diff: views/controls/label.h

Issue 2799042: Windows: Replace tabs in content settings with a listbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « chrome/browser/views/options/content_settings_window_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/label.h
===================================================================
--- views/controls/label.h (revision 51193)
+++ views/controls/label.h (working copy)
@@ -50,7 +50,7 @@
Label(const std::wstring& text, const gfx::Font& font);
virtual ~Label();
- // Overridden to compute the size required to display this label
+ // Overridden to compute the size required to display this label.
virtual gfx::Size GetPreferredSize();
// Overriden to return the baseline of the label.
@@ -58,7 +58,7 @@
// Return the height necessary to display this label with the provided width.
// This method is used to layout multi-line labels. It is equivalent to
- // GetPreferredSize().height() if the receiver is not multi-line
+ // GetPreferredSize().height() if the receiver is not multi-line.
virtual int GetHeightForWidth(int w);
// Overriden to dirty our text bounds if we're multi-line.
@@ -72,7 +72,7 @@
virtual void Paint(gfx::Canvas* canvas);
// If the mouse is over the label, and a mouse over background has been
- // specified, its used. Otherwise super's implementation is invoked
+ // specified, its used. Otherwise super's implementation is invoked.
virtual void PaintBackground(gfx::Canvas* canvas);
// Set the font.
@@ -96,7 +96,7 @@
// Set the color
virtual void SetColor(const SkColor& color) { color_ = color; }
- // Return a reference to the currently used color
+ // Return a reference to the currently used color.
virtual SkColor GetColor() const { return color_; }
// Set horizontal alignment. If the locale is RTL, and the RTL alignment
« no previous file with comments | « chrome/browser/views/options/content_settings_window_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698