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

Side by Side Diff: trunk/src/ui/views/controls/menu/menu_2.cc

Issue 14320040: Revert 194356 "views: Finally get rid of the deprecated Menu2 API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « trunk/src/ui/views/controls/menu/menu_2.h ('k') | trunk/src/ui/views/controls/menu/menu_insertion_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698