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

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

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/event_dispatcher.h ('k') | services/ui/ws/event_dispatcher_delegate.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mus/ws/event_dispatcher.h" 5 #include "services/ui/ws/event_dispatcher.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "components/mus/ws/accelerator.h" 10 #include "services/ui/ws/accelerator.h"
11 #include "components/mus/ws/display.h" 11 #include "services/ui/ws/display.h"
12 #include "components/mus/ws/event_dispatcher_delegate.h" 12 #include "services/ui/ws/event_dispatcher_delegate.h"
13 #include "components/mus/ws/server_window.h" 13 #include "services/ui/ws/server_window.h"
14 #include "components/mus/ws/server_window_delegate.h" 14 #include "services/ui/ws/server_window_delegate.h"
15 #include "components/mus/ws/window_coordinate_conversions.h" 15 #include "services/ui/ws/window_coordinate_conversions.h"
16 #include "components/mus/ws/window_finder.h" 16 #include "services/ui/ws/window_finder.h"
17 #include "ui/events/event_utils.h" 17 #include "ui/events/event_utils.h"
18 #include "ui/gfx/geometry/point.h" 18 #include "ui/gfx/geometry/point.h"
19 #include "ui/gfx/geometry/point_conversions.h" 19 #include "ui/gfx/geometry/point_conversions.h"
20 20
21 namespace mus { 21 namespace mus {
22 namespace ws { 22 namespace ws {
23 23
24 using Entry = std::pair<uint32_t, std::unique_ptr<Accelerator>>; 24 using Entry = std::pair<uint32_t, std::unique_ptr<Accelerator>>;
25 25
26 namespace { 26 namespace {
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 550
551 void EventDispatcher::OnWindowDestroyed(ServerWindow* window) { 551 void EventDispatcher::OnWindowDestroyed(ServerWindow* window) {
552 CancelPointerEventsToTarget(window); 552 CancelPointerEventsToTarget(window);
553 553
554 if (mouse_cursor_source_window_ == window) 554 if (mouse_cursor_source_window_ == window)
555 mouse_cursor_source_window_ = nullptr; 555 mouse_cursor_source_window_ = nullptr;
556 } 556 }
557 557
558 } // namespace ws 558 } // namespace ws
559 } // namespace mus 559 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/event_dispatcher.h ('k') | services/ui/ws/event_dispatcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698