Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: views/controls/menu/menu_2.cc

Issue 3533001: Add SetMinimumWidth to Menu2 for chromeos. Removed LanguageSwitchModel::GetFirstLevelMenuWidth (Closed)
Patch Set: updated comment Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « views/controls/menu/menu_2.h ('k') | views/controls/menu/menu_wrapper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 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 "views/controls/menu/menu_2.h" 5 #include "views/controls/menu/menu_2.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "views/controls/menu/menu_wrapper.h" 8 #include "views/controls/menu/menu_wrapper.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 void Menu2::AddMenuListener(MenuListener* listener) { 47 void Menu2::AddMenuListener(MenuListener* listener) {
48 wrapper_->AddMenuListener(listener); 48 wrapper_->AddMenuListener(listener);
49 } 49 }
50 50
51 void Menu2::RemoveMenuListener(MenuListener* listener) { 51 void Menu2::RemoveMenuListener(MenuListener* listener) {
52 wrapper_->RemoveMenuListener(listener); 52 wrapper_->RemoveMenuListener(listener);
53 } 53 }
54 54
55 void Menu2::SetMinimumWidth(int width) {
56 wrapper_->SetMinimumWidth(width);
57 }
58
55 } // namespace 59 } // namespace
OLDNEW
« no previous file with comments | « views/controls/menu/menu_2.h ('k') | views/controls/menu/menu_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698