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

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

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (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_impl_private.h" 5 #include "components/mus/public/cpp/tests/window_tree_client_impl_private.h"
6 6
7 #include "components/mus/public/cpp/lib/window_tree_client_impl.h" 7 #include "components/mus/public/cpp/lib/window_tree_client_impl.h"
8 #include "components/mus/public/cpp/window.h" 8 #include "components/mus/public/cpp/window.h"
9 #include "mojo/converters/geometry/geometry_type_converters.h"
10 #include "mojo/converters/input_events/input_events_type_converters.h" 9 #include "mojo/converters/input_events/input_events_type_converters.h"
10 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
11 11
12 namespace mus { 12 namespace mus {
13 13
14 WindowTreeClientImplPrivate::WindowTreeClientImplPrivate( 14 WindowTreeClientImplPrivate::WindowTreeClientImplPrivate(
15 WindowTreeClientImpl* tree_client_impl) 15 WindowTreeClientImpl* tree_client_impl)
16 : tree_client_impl_(tree_client_impl) {} 16 : tree_client_impl_(tree_client_impl) {}
17 17
18 WindowTreeClientImplPrivate::WindowTreeClientImplPrivate(Window* window) 18 WindowTreeClientImplPrivate::WindowTreeClientImplPrivate(Window* window)
19 : WindowTreeClientImplPrivate(window->tree_client()) {} 19 : WindowTreeClientImplPrivate(window->tree_client()) {}
20 20
(...skipping 20 matching lines...) Expand all
41 void WindowTreeClientImplPrivate::CallOnWindowInputEvent( 41 void WindowTreeClientImplPrivate::CallOnWindowInputEvent(
42 Window* window, 42 Window* window,
43 const ui::Event& event) { 43 const ui::Event& event) {
44 const uint32_t event_id = 0u; 44 const uint32_t event_id = 0u;
45 const uint32_t observer_id = 0u; 45 const uint32_t observer_id = 0u;
46 tree_client_impl_->OnWindowInputEvent(event_id, window->server_id(), 46 tree_client_impl_->OnWindowInputEvent(event_id, window->server_id(),
47 mojom::Event::From(event), observer_id); 47 mojom::Event::From(event), observer_id);
48 } 48 }
49 49
50 } // namespace mus 50 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698