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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc

Issue 406413004: Cleanups for aura/test/event_generator.h (resolve TODOs) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gn Created 6 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/widget/desktop_aura/desktop_native_widget_aura.h" 5 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "ui/aura/client/aura_constants.h" 8 #include "ui/aura/client/aura_constants.h"
9 #include "ui/aura/client/cursor_client.h" 9 #include "ui/aura/client/cursor_client.h"
10 #include "ui/aura/client/window_tree_client.h" 10 #include "ui/aura/client/window_tree_client.h"
11 #include "ui/aura/test/event_generator.h"
12 #include "ui/aura/test/test_window_delegate.h" 11 #include "ui/aura/test/test_window_delegate.h"
13 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
14 #include "ui/aura/window_tree_host.h" 13 #include "ui/aura/window_tree_host.h"
14 #include "ui/events/test/event_generator.h"
15 #include "ui/views/test/views_test_base.h" 15 #include "ui/views/test/views_test_base.h"
16 #include "ui/views/test/widget_test.h" 16 #include "ui/views/test/widget_test.h"
17 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
18 #include "ui/wm/public/dispatcher_client.h" 18 #include "ui/wm/public/dispatcher_client.h"
19 19
20 namespace views { 20 namespace views {
21 namespace test { 21 namespace test {
22 22
23 typedef ViewsTestBase DesktopNativeWidgetAuraTest; 23 typedef ViewsTestBase DesktopNativeWidgetAuraTest;
24 24
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 390
391 EXPECT_EQ(popup_window.top_level_widget()->GetNativeView()->bounds().size(), 391 EXPECT_EQ(popup_window.top_level_widget()->GetNativeView()->bounds().size(),
392 new_size.size()); 392 new_size.size());
393 RunPendingMessages(); 393 RunPendingMessages();
394 ASSERT_NO_FATAL_FAILURE(popup_window.DestroyOwnedWindow()); 394 ASSERT_NO_FATAL_FAILURE(popup_window.DestroyOwnedWindow());
395 RunPendingMessages(); 395 RunPendingMessages();
396 } 396 }
397 397
398 } // namespace test 398 } // namespace test
399 } // namespace views 399 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698