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

Unified Diff: ui/views/controls/button/label_button.h

Issue 145033006: views: Make View::set_border() take a scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 6 years, 11 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 | « ui/views/controls/button/image_button_unittest.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index 1951421c2982bb11a96fdaf184d88a1350166e19..0bbe7fee469c3ae4aaf7ef02210a68b41d42b48f 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -96,10 +96,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// Updates the image view to contain the appropriate button state image.
void UpdateImage();
- // Updates our border with a specific LabelButtonBorder instance which has
- // different insets, etc. This may wrap the border in an object which will
- // draw a native style border.
- void UpdateThemedBorder(LabelButtonBorder* label_button_border);
+ // Updates our border with a specific Border instance which has different
+ // insets, etc. This may wrap the border in an object which will draw a
+ // native style border.
+ void UpdateThemedBorder(scoped_ptr<Border> border);
// NativeThemeDelegate:
virtual gfx::Rect GetThemePaintRect() const OVERRIDE;
« no previous file with comments | « ui/views/controls/button/image_button_unittest.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698