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

Unified Diff: ui/views/controls/focusable_border.cc

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing Created 7 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: ui/views/controls/focusable_border.cc
diff --git a/ui/views/controls/focusable_border.cc b/ui/views/controls/focusable_border.cc
index c3a4af47e54a705790b15464d1615df202a731fd..072a2488c6d8a26583e7a4ca35000cb1cb4796ec 100644
--- a/ui/views/controls/focusable_border.cc
+++ b/ui/views/controls/focusable_border.cc
@@ -64,6 +64,10 @@ gfx::Size FocusableBorder::GetMinimumSize() const {
return gfx::Size();
}
+void FocusableBorder::ResetInsets() {
+ SetInsets(kTopInsetSize, kLeftInsetSize, kBottomInsetSize, kRightInsetSize);
+}
+
void FocusableBorder::SetInsets(int top, int left, int bottom, int right) {
insets_.Set(top, left, bottom, right);
}

Powered by Google App Engine
This is Rietveld 408576698