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

Unified Diff: chrome/browser/chromeos/status/network_menu.cc

Issue 10837317: Setting the touch wrench menu as default menu for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And another merge! Created 8 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/browser/chromeos/status/network_menu.cc
diff --git a/chrome/browser/chromeos/status/network_menu.cc b/chrome/browser/chromeos/status/network_menu.cc
index 2aa70964944c1687f223a9a8d5709bae2afecb94..2fde2c776ad6ba8e0878ff4059e72f9475cdfa26 100644
--- a/chrome/browser/chromeos/status/network_menu.cc
+++ b/chrome/browser/chromeos/status/network_menu.cc
@@ -146,6 +146,7 @@ class NetworkMenuModel : public ui::MenuModel {
virtual bool HasIcons() const OVERRIDE;
virtual int GetItemCount() const OVERRIDE;
virtual ui::MenuModel::ItemType GetTypeAt(int index) const OVERRIDE;
+ virtual ui::MenuSeparatorType GetSeparatorTypeAt(int index) const OVERRIDE;
virtual string16 GetLabelAt(int index) const OVERRIDE;
virtual bool IsItemDynamicAt(int index) const OVERRIDE;
virtual const gfx::Font* GetLabelFontAt(int index) const OVERRIDE;
@@ -343,6 +344,10 @@ ui::MenuModel::ItemType NetworkMenuModel::GetTypeAt(int index) const {
return menu_items_[index].type;
}
+ui::MenuSeparatorType NetworkMenuModel::GetSeparatorTypeAt(int index) const {
+ return ui::NORMAL_SEPARATOR;
+}
+
string16 NetworkMenuModel::GetLabelAt(int index) const {
return menu_items_[index].label;
}
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu_controller.cc ('k') | chrome/browser/download/download_shelf_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698