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

Side by Side Diff: ash/drag_drop/drag_drop_controller_unittest.cc

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/drag_drop/drag_drop_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/drag_drop/drag_drop_controller.h" 5 #include "ash/drag_drop/drag_drop_controller.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/test/ash_test_base.h" 8 #include "ash/test/ash_test_base.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "ui/aura/root_window.h" 11 #include "ui/aura/root_window.h"
12 #include "ui/aura/test/event_generator.h" 12 #include "ui/aura/test/event_generator.h"
13 #include "ui/base/clipboard/clipboard.h" 13 #include "ui/base/clipboard/clipboard.h"
14 #include "ui/base/clipboard/scoped_clipboard_writer.h" 14 #include "ui/base/clipboard/scoped_clipboard_writer.h"
15 #include "ui/base/dragdrop/drag_drop_types.h" 15 #include "ui/base/dragdrop/drag_drop_types.h"
16 #include "ui/base/dragdrop/os_exchange_data.h" 16 #include "ui/base/dragdrop/os_exchange_data.h"
17 #include "ui/base/event.h" 17 #include "ui/base/events/event.h"
18 #include "ui/views/test/test_views_delegate.h" 18 #include "ui/views/test/test_views_delegate.h"
19 #include "ui/views/view.h" 19 #include "ui/views/view.h"
20 #include "ui/views/views_delegate.h" 20 #include "ui/views/views_delegate.h"
21 #include "ui/views/widget/native_widget_aura.h" 21 #include "ui/views/widget/native_widget_aura.h"
22 #include "ui/views/widget/native_widget_delegate.h" 22 #include "ui/views/widget/native_widget_delegate.h"
23 #include "ui/views/widget/widget.h" 23 #include "ui/views/widget/widget.h"
24 24
25 namespace ash { 25 namespace ash {
26 namespace test { 26 namespace test {
27 27
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 EXPECT_EQ(1, drag_view->num_drag_enters_); 667 EXPECT_EQ(1, drag_view->num_drag_enters_);
668 EXPECT_EQ(num_drags - 1 - drag_view->VerticalDragThreshold(), 668 EXPECT_EQ(num_drags - 1 - drag_view->VerticalDragThreshold(),
669 drag_view->num_drag_updates_); 669 drag_view->num_drag_updates_);
670 EXPECT_EQ(0, drag_view->num_drops_); 670 EXPECT_EQ(0, drag_view->num_drops_);
671 EXPECT_EQ(1, drag_view->num_drag_exits_); 671 EXPECT_EQ(1, drag_view->num_drag_exits_);
672 EXPECT_TRUE(drag_view->drag_done_received_); 672 EXPECT_TRUE(drag_view->drag_done_received_);
673 } 673 }
674 674
675 } // namespace test 675 } // namespace test
676 } // namespace aura 676 } // namespace aura
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/drag_drop/drag_drop_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698