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

Side by Side Diff: chrome/browser/ui/views/button_dropdown_test.cc

Issue 7568002: Move more files from chrome/test to chrome/test/base, part #6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "ui/base/models/simple_menu_model.h" 7 #include "ui/base/models/simple_menu_model.h"
8 #include "chrome/browser/automation/ui_controls.h" 8 #include "chrome/browser/automation/ui_controls.h"
9 #include "chrome/test/interactive_ui/view_event_test_base.h" 9 #include "chrome/test/base/view_event_test_base.h"
10 #include "views/controls/button/button_dropdown.h" 10 #include "views/controls/button/button_dropdown.h"
11 11
12 class ButtonDropDownDragTest : public ViewEventTestBase, 12 class ButtonDropDownDragTest : public ViewEventTestBase,
13 ui::SimpleMenuModel::Delegate { 13 ui::SimpleMenuModel::Delegate {
14 public: 14 public:
15 ButtonDropDownDragTest() 15 ButtonDropDownDragTest()
16 : button_(NULL), 16 : button_(NULL),
17 ALLOW_THIS_IN_INITIALIZER_LIST(menu_model_(this)), 17 ALLOW_THIS_IN_INITIALIZER_LIST(menu_model_(this)),
18 menu_shown_(false), 18 menu_shown_(false),
19 menu_closed_(false) { 19 menu_closed_(false) {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 124
125 private: 125 private:
126 views::ButtonDropDown* button_; 126 views::ButtonDropDown* button_;
127 ui::SimpleMenuModel menu_model_; 127 ui::SimpleMenuModel menu_model_;
128 bool menu_shown_; 128 bool menu_shown_;
129 bool menu_closed_; 129 bool menu_closed_;
130 }; 130 };
131 131
132 VIEW_TEST(ButtonDropDownDragTest, DragActivation) 132 VIEW_TEST(ButtonDropDownDragTest, DragActivation)
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ('k') | chrome/browser/ui/views/menu_item_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698