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: ui/base/models/simple_menu_model.cc

Issue 6142013: Allow printing/saving a plugin through right click menu, even if it's in a fr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « ui/base/models/simple_menu_model.h ('k') | views/controls/menu/native_menu_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/simple_menu_model.cc
===================================================================
--- ui/base/models/simple_menu_model.cc (revision 71495)
+++ ui/base/models/simple_menu_model.cc (working copy)
@@ -45,6 +45,9 @@
void SimpleMenuModel::Delegate::CommandIdHighlighted(int command_id) {
}
+void SimpleMenuModel::Delegate::MenuClosed() {
+}
+
////////////////////////////////////////////////////////////////////////////////
// SimpleMenuModel, public:
@@ -284,6 +287,11 @@
return items_.at(FlipIndex(index)).submenu;
}
+void SimpleMenuModel::MenuClosed() {
+ if (delegate_)
+ delegate_->MenuClosed();
+}
+
int SimpleMenuModel::FlipIndex(int index) const {
return index;
}
« no previous file with comments | « ui/base/models/simple_menu_model.h ('k') | views/controls/menu/native_menu_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698