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 bool MenuDelegate::IsItemChecked(int id) const { | 10 bool MenuDelegate::IsItemChecked(int id) const { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 int MenuDelegate::GetMaxWidthForMenu(MenuItemView* menu) { | 113 int MenuDelegate::GetMaxWidthForMenu(MenuItemView* menu) { |
114 // NOTE: this needs to be large enough to accommodate the wrench menu with | 114 // NOTE: this needs to be large enough to accommodate the wrench menu with |
115 // big fonts. | 115 // big fonts. |
116 return 800; | 116 return 800; |
117 } | 117 } |
118 | 118 |
119 void MenuDelegate::WillShowMenu(MenuItemView* menu) { | 119 void MenuDelegate::WillShowMenu(MenuItemView* menu) { |
120 } | 120 } |
121 | 121 |
| 122 void MenuDelegate::WillHideMenu(MenuItemView* menu) { |
| 123 } |
| 124 |
122 } // namespace views | 125 } // namespace views |
OLD | NEW |