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

Unified Diff: ui/base/models/menu_model.cc

Issue 12755019: Add 2-lines summary to CC/Address for Wallet items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SubLabel and sub-label -> Sublabel and sublabel. Added description. Created 7 years, 9 months 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/base/models/menu_model.cc
diff --git a/ui/base/models/menu_model.cc b/ui/base/models/menu_model.cc
index 1a3190d6db0a396dec64847ba4b4e16b762007a4..60d47fdc5c94eaf34e04ea951d06c7e231be7f42 100644
--- a/ui/base/models/menu_model.cc
+++ b/ui/base/models/menu_model.cc
@@ -32,10 +32,18 @@ bool MenuModel::GetModelAndIndexForCommandId(int command_id,
return false;
}
+string16 MenuModel::GetSublabelAt(int index) const {
+ return string16();
+}
+
const gfx::Font* MenuModel::GetLabelFontAt(int index) const {
return NULL;
}
+const gfx::Font* MenuModel::GetSublabelFontAt(int index) const {
+ return NULL;
+}
+
// Default implementation ignores the event flags.
void MenuModel::ActivatedAt(int index, int event_flags) {
ActivatedAt(index);

Powered by Google App Engine
This is Rietveld 408576698