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

Side by Side Diff: ui/aura_shell/drag_drop_controller_unittest.cc

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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 "ui/aura_shell/drag_drop_controller.h" 5 #include "ui/aura_shell/drag_drop_controller.h"
6 6
7 #include "ash/wm/root_window_event_filter.h"
7 #include "base/location.h" 8 #include "base/location.h"
8 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
9 #include "ui/aura/event.h" 10 #include "ui/aura/event.h"
10 #include "ui/aura/root_window.h" 11 #include "ui/aura/root_window.h"
11 #include "ui/aura_shell/root_window_event_filter.h"
12 #include "ui/aura_shell/test/aura_shell_test_base.h" 12 #include "ui/aura_shell/test/aura_shell_test_base.h"
13 #include "ui/base/dragdrop/drag_drop_types.h" 13 #include "ui/base/dragdrop/drag_drop_types.h"
14 #include "ui/base/dragdrop/os_exchange_data.h" 14 #include "ui/base/dragdrop/os_exchange_data.h"
15 #include "ui/views/events/event.h" 15 #include "ui/views/events/event.h"
16 #include "ui/views/view.h" 16 #include "ui/views/view.h"
17 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
18 18
19 namespace aura_shell { 19 namespace aura_shell {
20 namespace test { 20 namespace test {
21 21
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(), 423 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(),
424 drag_view->num_drag_updates_); 424 drag_view->num_drag_updates_);
425 EXPECT_EQ(0, drag_view->num_drops_); 425 EXPECT_EQ(0, drag_view->num_drops_);
426 EXPECT_EQ(0, drag_view->num_drag_exits_); 426 EXPECT_EQ(0, drag_view->num_drag_exits_);
427 EXPECT_TRUE(drag_view->drag_done_received_); 427 EXPECT_TRUE(drag_view->drag_done_received_);
428 delete widget; 428 delete widget;
429 } 429 }
430 430
431 } // namespace test 431 } // namespace test
432 } // namespace aura 432 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura_shell/default_container_layout_manager_unittest.cc ('k') | ui/aura_shell/property_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698