Add textfield internal padding from FocusableBorder.
commita259c9b832bcbc4a641f1696071df39e028a5c2c
authormsw <msw@chromium.org>
Tue, 9 Sep 2014 21:33:57 +0000 (9 14:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Sep 2014 21:50:58 +0000 (9 21:50 +0000)
tree66a39211eb7ea7f8718ef0a114d5c517d766f15c
parent02ffd539170a573b9d80c1bd6079dd34ea6a90d4
Add textfield internal padding from FocusableBorder.

Add 3px of internal padding for textfield/combobox content.
Remove corresponding unused padding from FocusableBorder.
This better accommodates excessively tall fallback font text.
Update Omnibox, Find Bar, App List, and CookieInfoView.

See before/after pics at http://crbug.com/404999#c51

BUG=404999
TEST=Bookmark bubble/dialog, find bar, etc. don't clip most tall fallback text.
R=sky@chromium.org,pkasting@chromium.org

Review URL: https://codereview.chromium.org/516943003

Cr-Commit-Position: refs/heads/master@{#294016}
chrome/browser/ui/views/cookie_info_view.cc
chrome/browser/ui/views/cookie_info_view.h
chrome/browser/ui/views/find_bar_view.cc
chrome/browser/ui/views/location_bar/location_bar_view.cc
ui/app_list/views/folder_header_view.cc
ui/app_list/views/search_box_view.cc
ui/views/controls/combobox/combobox.cc
ui/views/controls/focusable_border.cc
ui/views/controls/focusable_border.h
ui/views/controls/textfield/textfield.cc
ui/views/controls/textfield/textfield.h