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

Unified Diff: chrome/test/menu_model_test.h

Issue 3163023: Clean up the WrenchMenuModel so that it uses SimpleMenu::Delegate. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix stray rb Created 10 years, 4 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: chrome/test/menu_model_test.h
diff --git a/chrome/test/menu_model_test.h b/chrome/test/menu_model_test.h
index a87993b4d180bba382b7c00dbc61bfc7f2ce5d3a..92c390ce7b8603ccc5541285b1b1411206e0c119 100644
--- a/chrome/test/menu_model_test.h
+++ b/chrome/test/menu_model_test.h
@@ -6,6 +6,7 @@
#define CHROME_TEST_MENU_MODEL_TEST_H_
#pragma once
+#include "app/menus/accelerator.h"
#include "app/menus/simple_menu_model.h"
// A mix-in class to be used in addition to something that derrives from
@@ -18,7 +19,8 @@ class MenuModelTest {
protected:
// A menu delegate that counts the number of times certain things are called
// to make sure things are hooked up properly.
- class Delegate : public menus::SimpleMenuModel::Delegate {
+ class Delegate : public menus::SimpleMenuModel::Delegate,
+ public menus::AcceleratorProvider {
public:
Delegate() : execute_count_(0), enable_count_(0) { }
« chrome/browser/wrench_menu_model.cc ('K') | « chrome/browser/wrench_menu_model_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698