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

Side by Side Diff: services/ui/ws/drag_controller_unittest.cc

Issue 2786983003: [aura-mus] Add ui::CursorData, with mojo serialization. (Closed)
Patch Set: everybody comments Created 3 years, 8 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 | « services/ui/ws/drag_controller.cc ('k') | services/ui/ws/event_dispatcher.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "services/ui/ws/drag_controller.h" 5 #include "services/ui/ws/drag_controller.h"
6 6
7 #include <map> 7 #include <map>
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "services/ui/public/interfaces/cursor.mojom.h" 13 #include "services/ui/public/interfaces/cursor/cursor.mojom.h"
14 #include "services/ui/ws/drag_source.h" 14 #include "services/ui/ws/drag_source.h"
15 #include "services/ui/ws/drag_target_connection.h" 15 #include "services/ui/ws/drag_target_connection.h"
16 #include "services/ui/ws/ids.h" 16 #include "services/ui/ws/ids.h"
17 #include "services/ui/ws/server_window.h" 17 #include "services/ui/ws/server_window.h"
18 #include "services/ui/ws/test_server_window_delegate.h" 18 #include "services/ui/ws/test_server_window_delegate.h"
19 #include "services/ui/ws/test_utils.h" 19 #include "services/ui/ws/test_utils.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 #include "ui/events/base_event_utils.h" 21 #include "ui/events/base_event_utils.h"
22 22
23 namespace ui { 23 namespace ui {
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 680
681 // Window 2 responding negatively to its queued messages shouldn't change the 681 // Window 2 responding negatively to its queued messages shouldn't change the
682 // cursor. 682 // cursor.
683 window2->Respond(false); 683 window2->Respond(false);
684 684
685 EXPECT_EQ(ui::mojom::CursorType::COPY, cursor()); 685 EXPECT_EQ(ui::mojom::CursorType::COPY, cursor());
686 } 686 }
687 687
688 } // namespace ws 688 } // namespace ws
689 } // namespace ui 689 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/drag_controller.cc ('k') | services/ui/ws/event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698