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

Unified Diff: chrome/browser/ui/views/frame/system_menu_model.cc

Issue 11791039: Removes SimpleMenuModel::FlipIndex. It was only used by (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « chrome/browser/ui/views/frame/system_menu_model.h ('k') | ui/base/models/menu_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/system_menu_model.cc
diff --git a/chrome/browser/ui/views/frame/system_menu_model.cc b/chrome/browser/ui/views/frame/system_menu_model.cc
index 1affc2aa9e52590e3e218cf440a19fb686581367..8d8735524d58e0024679583747eb0d2aae391d91 100644
--- a/chrome/browser/ui/views/frame/system_menu_model.cc
+++ b/chrome/browser/ui/views/frame/system_menu_model.cc
@@ -19,7 +19,3 @@ int SystemMenuModel::GetFirstItemIndex(gfx::NativeMenu native_menu) const {
// We allow insertions before last item (Close).
return std::max(0, GetMenuItemCount(native_menu) - 1);
}
-
-int SystemMenuModel::FlipIndex(int index) const {
- return GetItemCount() - index - 1;
-}
« no previous file with comments | « chrome/browser/ui/views/frame/system_menu_model.h ('k') | ui/base/models/menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698