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

Unified Diff: chrome/test/base/menu_model_test.cc

Issue 2138353002: SimpleMenuModel and ButtonMenuItemModel implement AcceleratorProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@menumodel-accelerator-default
Patch Set: Fix compile on Windows. Created 4 years, 5 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
« no previous file with comments | « chrome/test/base/menu_model_test.h ('k') | ui/base/models/button_menu_item_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/menu_model_test.cc
diff --git a/chrome/test/base/menu_model_test.cc b/chrome/test/base/menu_model_test.cc
index 63b113e2176b63c2e0c4e30c8b16c62d59a7ba8b..1c96f08c1d2256efadec811a3be47292af8f78bb 100644
--- a/chrome/test/base/menu_model_test.cc
+++ b/chrome/test/base/menu_model_test.cc
@@ -15,12 +15,6 @@ bool MenuModelTest::Delegate::IsCommandIdEnabled(int command_id) const {
return true;
}
-bool MenuModelTest::Delegate::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const {
- return false;
-}
-
void MenuModelTest::Delegate::ExecuteCommand(int command_id, int event_flags) {
++execute_count_;
}
« no previous file with comments | « chrome/test/base/menu_model_test.h ('k') | ui/base/models/button_menu_item_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698