Add a minor text member to ui::MenuModel.
commit0305d878fbf016e6180e15e2cb98fe497a1a0bfe
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 4 Sep 2013 03:21:51 +0000 (4 03:21 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 4 Sep 2013 03:21:51 +0000 (4 03:21 +0000)
tree3df62d6180b1bfe7e83b8610a8948e8e092304b0
parent811487e424e962307ecab6ffdee55112b3e0fb6e
Add a minor text member to ui::MenuModel.

The menu model currently has a |sublabel| member which is does not match
the documentation. This CL implements the documented behavior for
|sublabel| and migrates the previous functionality into a new member
|minor_text|.

The new sublabel functionality is required for the app list profile
selector in https://chromiumcodereview.appspot.com/20656002/.

BUG=254143
TEST=No functional changes.

Review URL: https://chromiumcodereview.appspot.com/23536002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221131 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
chrome/browser/ui/autofill/autofill_dialog_models.cc
chrome/browser/ui/autofill/autofill_dialog_models.h
chrome/browser/ui/views/menu_item_view_test.cc
ui/base/models/menu_model.cc
ui/base/models/menu_model.h
ui/base/models/simple_menu_model.cc
ui/base/models/simple_menu_model.h
ui/views/controls/menu/menu_item_view.cc
ui/views/controls/menu/menu_item_view.h