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

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

Issue 2555623002: Last round of cleaning up MD layout constants. (Closed)
Patch Set: rebase Created 4 years 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/toolbar_button.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.h b/chrome/browser/ui/views/toolbar/toolbar_button.h
index c3a3207c1b024551fabe1b9c188ea923855522ce..033a004f9846febdfbe9bb3af85aace40b5a6fbf 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_button.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.h
@@ -66,6 +66,9 @@ class ToolbarButton : public views::LabelButton,
const gfx::Point& point,
ui::MenuSourceType source_type) override;
+ // Padding inside the border (around the image).
+ static constexpr int kInteriorPadding = 6;
Peter Kasting 2016/12/08 20:57:50 Nit: Goes above constructor
Evan Stade 2016/12/13 01:31:19 Done.
+
protected:
// Returns if menu should be shown. Override this to change default behavior.
virtual bool ShouldShowMenu();

Powered by Google App Engine
This is Rietveld 408576698