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

Side by Side Diff: components/mus/public/cpp/tests/window_tree_client_private.cc

Issue 2048633004: Remove type converters for ui::Event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 "components/mus/public/cpp/tests/window_tree_client_private.h" 5 #include "components/mus/public/cpp/tests/window_tree_client_private.h"
6 6
7 #include "components/mus/public/cpp/window.h" 7 #include "components/mus/public/cpp/window.h"
8 #include "components/mus/public/cpp/window_tree_client.h" 8 #include "components/mus/public/cpp/window_tree_client.h"
9 #include "ui/events/mojo/input_events_type_converters.h"
10 9
11 namespace mus { 10 namespace mus {
12 11
13 WindowTreeClientPrivate::WindowTreeClientPrivate( 12 WindowTreeClientPrivate::WindowTreeClientPrivate(
14 WindowTreeClient* tree_client_impl) 13 WindowTreeClient* tree_client_impl)
15 : tree_client_impl_(tree_client_impl) {} 14 : tree_client_impl_(tree_client_impl) {}
16 15
17 WindowTreeClientPrivate::WindowTreeClientPrivate(Window* window) 16 WindowTreeClientPrivate::WindowTreeClientPrivate(Window* window)
18 : WindowTreeClientPrivate(window->window_tree()) {} 17 : WindowTreeClientPrivate(window->window_tree()) {}
19 18
(...skipping 18 matching lines...) Expand all
38 void WindowTreeClientPrivate::CallOnWindowInputEvent( 37 void WindowTreeClientPrivate::CallOnWindowInputEvent(
39 Window* window, 38 Window* window,
40 std::unique_ptr<ui::Event> event) { 39 std::unique_ptr<ui::Event> event) {
41 const uint32_t event_id = 0u; 40 const uint32_t event_id = 0u;
42 const uint32_t observer_id = 0u; 41 const uint32_t observer_id = 0u;
43 tree_client_impl_->OnWindowInputEvent(event_id, window->server_id(), 42 tree_client_impl_->OnWindowInputEvent(event_id, window->server_id(),
44 std::move(event), observer_id); 43 std::move(event), observer_id);
45 } 44 }
46 45
47 } // namespace mus 46 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/BUILD.gn ('k') | components/mus/public/cpp/tests/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698