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

Unified Diff: views/controls/button/button_dropdown.h

Issue 7044016: Replace ButtonDropDown menu implementation (Menu2) with MenuItemView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One last little style fix. Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | views/controls/button/button_dropdown.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/button_dropdown.h
diff --git a/views/controls/button/button_dropdown.h b/views/controls/button/button_dropdown.h
index 9e8785c22c4a74885e7ab721bc6840867141dffb..0728aa627578e15dca812e830e0904832d9490f2 100644
--- a/views/controls/button/button_dropdown.h
+++ b/views/controls/button/button_dropdown.h
@@ -8,7 +8,10 @@
#include "base/task.h"
#include "views/controls/button/image_button.h"
-#include "views/controls/menu/menu_2.h"
+
+namespace ui {
+class MenuModel;
+} // namespace ui
namespace views {
@@ -51,7 +54,6 @@ class ButtonDropDown : public ImageButton {
// The model that populates the attached menu.
ui::MenuModel* model_;
- scoped_ptr<Menu2> menu_;
// Y position of mouse when left mouse button is pressed
int y_position_on_lbuttondown_;
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | views/controls/button/button_dropdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698