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

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: Fixed build problems 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 6a82b514f5431d3d2c48ade58fdc32479d4dba14..6029f57c668d1dd59ac3192dd47aa86f7950ca6e 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;
}

Powered by Google App Engine
This is Rietveld 408576698