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

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

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) 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
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/first_run/first_run_helper_impl.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) 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_tracker.h" 5 #include "ash/drag_drop/drag_drop_tracker.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/public/cpp/shell_window_ids.h" 9 #include "ash/public/cpp/shell_window_ids.h"
10 #include "ash/scoped_root_window_for_new_windows.h" 10 #include "ash/scoped_root_window_for_new_windows.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ash/wm_window.h"
14 #include "ui/aura/test/test_windows.h" 13 #include "ui/aura/test/test_windows.h"
15 #include "ui/aura/window.h" 14 #include "ui/aura/window.h"
16 #include "ui/aura/window_event_dispatcher.h" 15 #include "ui/aura/window_event_dispatcher.h"
17 #include "ui/events/event_utils.h" 16 #include "ui/events/event_utils.h"
18 17
19 namespace ash { 18 namespace ash {
20 namespace test { 19 namespace test {
21 20
22 class DragDropTrackerTest : public test::AshTestBase { 21 class DragDropTrackerTest : public test::AshTestBase {
23 public: 22 public:
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 std::unique_ptr<ui::LocatedEvent> converted11( 170 std::unique_ptr<ui::LocatedEvent> converted11(
172 ConvertEvent(window1.get(), original11)); 171 ConvertEvent(window1.get(), original11));
173 EXPECT_EQ(original11.type(), converted11->type()); 172 EXPECT_EQ(original11.type(), converted11->type());
174 EXPECT_EQ("50,50", converted11->location().ToString()); 173 EXPECT_EQ("50,50", converted11->location().ToString());
175 EXPECT_EQ("150,150", converted11->root_location().ToString()); 174 EXPECT_EQ("150,150", converted11->root_location().ToString());
176 EXPECT_EQ(original11.flags(), converted11->flags()); 175 EXPECT_EQ(original11.flags(), converted11->flags());
177 } 176 }
178 177
179 } // namespace test 178 } // namespace test
180 } // namespace aura 179 } // namespace aura
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/first_run/first_run_helper_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698