| 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..ab3a369344a6455440762cd1c68769c360bfaccf 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::MenuSeparatorStyle GetSeparatorStyleAt(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,11 @@ ui::MenuModel::ItemType NetworkMenuModel::GetTypeAt(int index) const {
|
| return menu_items_[index].type;
|
| }
|
|
|
| +ui::MenuSeparatorStyle NetworkMenuModel::GetSeparatorStyleAt(int index) const {
|
| + return menu_items_[index].type == ui::MenuModel::TYPE_SEPARATOR ?
|
| + ui::NORMAL_SEPARATOR : ui::NO_SEPARATOR;
|
| +}
|
| +
|
| string16 NetworkMenuModel::GetLabelAt(int index) const {
|
| return menu_items_[index].label;
|
| }
|
|
|