OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/views/controls/menu/menu_2.h" | 5 #include "ui/views/controls/menu/menu_2.h" |
6 | 6 |
7 #include "ui/base/models/menu_model.h" | 7 #include "ui/base/models/menu_model.h" |
8 #include "ui/views/controls/menu/menu_listener.h" | 8 #include "ui/views/controls/menu/menu_listener.h" |
9 | 9 |
10 namespace views { | 10 namespace views { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 void Menu2::RemoveMenuListener(MenuListener* listener) { | 53 void Menu2::RemoveMenuListener(MenuListener* listener) { |
54 wrapper_->RemoveMenuListener(listener); | 54 wrapper_->RemoveMenuListener(listener); |
55 } | 55 } |
56 | 56 |
57 void Menu2::SetMinimumWidth(int width) { | 57 void Menu2::SetMinimumWidth(int width) { |
58 wrapper_->SetMinimumWidth(width); | 58 wrapper_->SetMinimumWidth(width); |
59 } | 59 } |
60 | 60 |
61 } // namespace | 61 } // namespace |
OLD | NEW |