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

Side by Side Diff: ui/views/touchui/touch_selection_menu_runner_views_unittest.cc

Issue 2921523002: Clean up unused grit header includes in ui/. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/macros.h" 5 #include "base/macros.h"
6 #include "ui/events/event_utils.h" 6 #include "ui/events/event_utils.h"
7 #include "ui/strings/grit/ui_strings.h"
8 #include "ui/touch_selection/touch_selection_menu_runner.h" 7 #include "ui/touch_selection/touch_selection_menu_runner.h"
9 #include "ui/views/controls/button/button.h" 8 #include "ui/views/controls/button/button.h"
10 #include "ui/views/test/views_test_base.h" 9 #include "ui/views/test/views_test_base.h"
11 #include "ui/views/touchui/touch_selection_menu_runner_views.h" 10 #include "ui/views/touchui/touch_selection_menu_runner_views.h"
12 11
13 namespace views { 12 namespace views {
14 namespace { 13 namespace {
15 14
16 // Should match |kMenuButtonWidth| in touch_selection_menu_runner_views.cc. 15 // Should match |kMenuButtonWidth| in touch_selection_menu_runner_views.cc.
17 const int kMenuButtonWidth = 63; 16 const int kMenuButtonWidth = 63;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // Close the menu widget and check that menu runner correctly knows that menu 188 // Close the menu widget and check that menu runner correctly knows that menu
190 // is not running anymore. 189 // is not running anymore.
191 Widget* widget = test_api.GetWidget(); 190 Widget* widget = test_api.GetWidget();
192 DCHECK(widget); 191 DCHECK(widget);
193 widget->Close(); 192 widget->Close();
194 RunPendingMessages(); 193 RunPendingMessages();
195 EXPECT_FALSE(ui::TouchSelectionMenuRunner::GetInstance()->IsRunning()); 194 EXPECT_FALSE(ui::TouchSelectionMenuRunner::GetInstance()->IsRunning());
196 } 195 }
197 196
198 } // namespace views 197 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/touchui/touch_selection_controller_impl_unittest.cc ('k') | ui/views/window/custom_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698