OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/menus/menu_model.h" | 5 #include "app/menus/menu_model.h" |
6 | 6 |
7 namespace menus { | 7 namespace menus { |
8 | 8 |
9 bool MenuModel::IsVisibleAt(int index) const { | 9 bool MenuModel::IsVisibleAt(int index) const { |
10 return true; | 10 return true; |
11 } | 11 } |
(...skipping 16 matching lines...) Loading... |
28 } | 28 } |
29 return false; | 29 return false; |
30 } | 30 } |
31 | 31 |
32 // Default implementation ignores the disposition. | 32 // Default implementation ignores the disposition. |
33 void MenuModel::ActivatedAtWithDisposition(int index, int disposition) { | 33 void MenuModel::ActivatedAtWithDisposition(int index, int disposition) { |
34 ActivatedAt(index); | 34 ActivatedAt(index); |
35 } | 35 } |
36 | 36 |
37 } // namespace | 37 } // namespace |
OLD | NEW |