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

Unified Diff: app/menus/menu_model.cc

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 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
« no previous file with comments | « app/menus/menu_model.h ('k') | app/slide_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/menus/menu_model.cc
diff --git a/app/menus/menu_model.cc b/app/menus/menu_model.cc
index cd554f2928a89e0dca2b4f1638e9e94f1249733e..3df2bcc9fd02ddcdc0b05f06b304ead8cc9c4d31 100644
--- a/app/menus/menu_model.cc
+++ b/app/menus/menu_model.cc
@@ -6,6 +6,10 @@
namespace menus {
+int MenuModel::GetFirstItemIndex(gfx::NativeMenu native_menu) const {
+ return 0;
+}
+
bool MenuModel::IsVisibleAt(int index) const {
return true;
}
@@ -29,6 +33,10 @@ bool MenuModel::GetModelAndIndexForCommandId(int command_id,
return false;
}
+const gfx::Font* MenuModel::GetLabelFontAt(int index) const {
+ return NULL;
+}
+
// Default implementation ignores the disposition.
void MenuModel::ActivatedAtWithDisposition(int index, int disposition) {
ActivatedAt(index);
« no previous file with comments | « app/menus/menu_model.h ('k') | app/slide_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698