| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "views/controls/menu/menu_config.h" | 5 #include "views/controls/menu/menu_config.h" |
| 6 #include "views/controls/menu/menu_delegate.h" | 6 #include "views/controls/menu/menu_delegate.h" |
| 7 | 7 |
| 8 namespace views { | 8 namespace views { |
| 9 | 9 |
| 10 MenuDelegate::~MenuDelegate() {} |
| 11 |
| 10 bool MenuDelegate::IsItemChecked(int id) const { | 12 bool MenuDelegate::IsItemChecked(int id) const { |
| 11 return false; | 13 return false; |
| 12 } | 14 } |
| 13 | 15 |
| 14 std::wstring MenuDelegate::GetLabel(int id) const { | 16 std::wstring MenuDelegate::GetLabel(int id) const { |
| 15 return std::wstring(); | 17 return std::wstring(); |
| 16 } | 18 } |
| 17 | 19 |
| 18 const gfx::Font& MenuDelegate::GetLabelFont(int id) const { | 20 const gfx::Font& MenuDelegate::GetLabelFont(int id) const { |
| 19 return MenuConfig::instance().font; | 21 return MenuConfig::instance().font; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 return 800; | 118 return 800; |
| 117 } | 119 } |
| 118 | 120 |
| 119 void MenuDelegate::WillShowMenu(MenuItemView* menu) { | 121 void MenuDelegate::WillShowMenu(MenuItemView* menu) { |
| 120 } | 122 } |
| 121 | 123 |
| 122 void MenuDelegate::WillHideMenu(MenuItemView* menu) { | 124 void MenuDelegate::WillHideMenu(MenuItemView* menu) { |
| 123 } | 125 } |
| 124 | 126 |
| 125 } // namespace views | 127 } // namespace views |
| OLD | NEW |