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 "ui/base/models/menu_model.h" | 5 #include "ui/base/models/menu_model.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 bool MenuModel::IsVisibleAt(int index) const { | 9 bool MenuModel::IsVisibleAt(int index) const { |
10 return true; | 10 return true; |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 base::string16 MenuModel::GetSublabelAt(int index) const { | 35 base::string16 MenuModel::GetSublabelAt(int index) const { |
36 return base::string16(); | 36 return base::string16(); |
37 } | 37 } |
38 | 38 |
39 base::string16 MenuModel::GetMinorTextAt(int index) const { | 39 base::string16 MenuModel::GetMinorTextAt(int index) const { |
40 return base::string16(); | 40 return base::string16(); |
41 } | 41 } |
42 | 42 |
43 const gfx::Font* MenuModel::GetLabelFontAt(int index) const { | 43 const gfx::FontList* MenuModel::GetLabelFontListAt(int index) const { |
44 return NULL; | 44 return NULL; |
45 } | 45 } |
46 | 46 |
47 // Default implementation ignores the event flags. | 47 // Default implementation ignores the event flags. |
48 void MenuModel::ActivatedAt(int index, int event_flags) { | 48 void MenuModel::ActivatedAt(int index, int event_flags) { |
49 ActivatedAt(index); | 49 ActivatedAt(index); |
50 } | 50 } |
51 | 51 |
52 } // namespace ui | 52 } // namespace ui |
OLD | NEW |