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

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

Issue 8968022: Shell related switches -> aura shell switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « ui/aura_shell/drag_drop_controller.cc ('k') | ui/aura_shell/laptop_mode_layout_manager.cc » ('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) 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 "base/location.h" 7 #include "base/location.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "ui/aura/client/aura_constants.h"
10 #include "ui/aura/event.h" 9 #include "ui/aura/event.h"
11 #include "ui/aura/root_window.h" 10 #include "ui/aura/root_window.h"
12 #include "ui/aura_shell/root_window_event_filter.h" 11 #include "ui/aura_shell/root_window_event_filter.h"
13 #include "ui/aura_shell/test/aura_shell_test_base.h" 12 #include "ui/aura_shell/test/aura_shell_test_base.h"
14 #include "ui/base/dragdrop/drag_drop_types.h" 13 #include "ui/base/dragdrop/drag_drop_types.h"
15 #include "ui/base/dragdrop/os_exchange_data.h" 14 #include "ui/base/dragdrop/os_exchange_data.h"
16 #include "ui/views/events/event.h" 15 #include "ui/views/events/event.h"
17 #include "ui/views/view.h" 16 #include "ui/views/view.h"
18 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
19 18
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(), 410 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(),
412 drag_view->num_drag_updates_); 411 drag_view->num_drag_updates_);
413 EXPECT_EQ(0, drag_view->num_drops_); 412 EXPECT_EQ(0, drag_view->num_drops_);
414 EXPECT_EQ(0, drag_view->num_drag_exits_); 413 EXPECT_EQ(0, drag_view->num_drag_exits_);
415 EXPECT_TRUE(drag_view->drag_done_received_); 414 EXPECT_TRUE(drag_view->drag_done_received_);
416 delete widget; 415 delete widget;
417 } 416 }
418 417
419 } // namespace test 418 } // namespace test
420 } // namespace aura 419 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura_shell/drag_drop_controller.cc ('k') | ui/aura_shell/laptop_mode_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698