diff options
author | yefim@chromium.org <yefim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 00:20:12 +0000 |
---|---|---|
committer | yefim@chromium.org <yefim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 00:20:12 +0000 |
commit | e26af97bb6e7e5d8445329dc1c88073e2d3a432d (patch) | |
tree | b15f3d06d00c8b5b8d77a819c32ed8ef29390938 /ui/views/view_text_utils.h | |
parent | eeba53150b83797b6e8d051e97acc6a6b92cff95 (diff) | |
download | chromium_src-e26af97bb6e7e5d8445329dc1c88073e2d3a432d.zip chromium_src-e26af97bb6e7e5d8445329dc1c88073e2d3a432d.tar.gz chromium_src-e26af97bb6e7e5d8445329dc1c88073e2d3a432d.tar.bz2 |
Changed MenuItemView to check if any menu item has a checkbox or radio button and then adjust it's layout accordingly.
When MenuModelAdapter::BuildMenuImpl() was going recursively through all submenus it used to set has_icon to each submenu instead of top menu item. Changed it to set it to the top menu item.
BUG=172990
TEST=When testing please make sure other menus with checkboxes/radio buttons have proper padding.
Review URL: https://chromiumcodereview.appspot.com/12112002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/view_text_utils.h')
0 files changed, 0 insertions, 0 deletions