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

Unified Diff: chrome/browser/ui/views/toolbar/back_button.h

Issue 292153008: linux_aura: Fix the insets on LabelButtons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments about where the smaller insets come from. Created 6 years, 7 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: chrome/browser/ui/views/toolbar/back_button.h
diff --git a/chrome/browser/ui/views/toolbar/back_button.h b/chrome/browser/ui/views/toolbar/back_button.h
index 3225706ad1b4a634b6dcb6439072ec58371285d0..112d2b59c5f321ad5c55b0dc0975c009091091b1 100644
--- a/chrome/browser/ui/views/toolbar/back_button.h
+++ b/chrome/browser/ui/views/toolbar/back_button.h
@@ -31,7 +31,8 @@ class BackButton : public ToolbarButton {
protected:
virtual gfx::Rect GetThemePaintRect() const OVERRIDE;
- virtual scoped_ptr<views::Border> CreateDefaultBorder() const OVERRIDE;
+ virtual void SetDefaultBorderInsets(
+ views::LabelButtonBorder* border) OVERRIDE;
private:
// Any leading margin to be applied. Used when the back button is in

Powered by Google App Engine
This is Rietveld 408576698