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

Side by Side Diff: services/window_manager/window_manager_root.cc

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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 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 "services/window_manager/window_manager_root.h" 5 #include "services/window_manager/window_manager_root.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "mojo/converters/geometry/geometry_type_converters.h" 13 #include "mojo/converters/geometry/geometry_type_converters.h"
14 #include "mojo/converters/input_events/input_events_type_converters.h" 14 #include "mojo/converters/input_events/input_events_type_converters.h"
15 #include "mojo/public/cpp/application/application_connection.h" 15 #include "mojo/public/cpp/application/application_connection.h"
16 #include "mojo/public/cpp/application/application_impl.h" 16 #include "mojo/public/cpp/application/application_impl.h"
17 #include "mojo/public/interfaces/application/shell.mojom.h" 17 #include "mojo/public/interfaces/application/shell.mojom.h"
18 #include "mojo/services/view_manager/public/cpp/view.h" 18 #include "mojo/services/view_manager/cpp/view.h"
19 #include "mojo/services/view_manager/public/cpp/view_manager.h" 19 #include "mojo/services/view_manager/cpp/view_manager.h"
20 #include "services/window_manager/capture_controller.h" 20 #include "services/window_manager/capture_controller.h"
21 #include "services/window_manager/focus_controller.h" 21 #include "services/window_manager/focus_controller.h"
22 #include "services/window_manager/focus_rules.h" 22 #include "services/window_manager/focus_rules.h"
23 #include "services/window_manager/hit_test.h" 23 #include "services/window_manager/hit_test.h"
24 #include "services/window_manager/view_event_dispatcher.h" 24 #include "services/window_manager/view_event_dispatcher.h"
25 #include "services/window_manager/view_target.h" 25 #include "services/window_manager/view_target.h"
26 #include "services/window_manager/view_targeter.h" 26 #include "services/window_manager/view_targeter.h"
27 #include "services/window_manager/window_manager_delegate.h" 27 #include "services/window_manager/window_manager_delegate.h"
28 28
29 using mojo::ApplicationConnection; 29 using mojo::ApplicationConnection;
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 void WindowManagerRoot::SetViewManagerClient( 404 void WindowManagerRoot::SetViewManagerClient(
405 mojo::ScopedMessagePipeHandle view_manager_client_request) { 405 mojo::ScopedMessagePipeHandle view_manager_client_request) {
406 view_manager_client_.reset( 406 view_manager_client_.reset(
407 mojo::ViewManagerClientFactory::WeakBindViewManagerToPipe( 407 mojo::ViewManagerClientFactory::WeakBindViewManagerToPipe(
408 mojo::MakeRequest<mojo::ViewManagerClient>( 408 mojo::MakeRequest<mojo::ViewManagerClient>(
409 view_manager_client_request.Pass()), 409 view_manager_client_request.Pass()),
410 view_manager_service_.Pass(), application_impl_->shell(), this)); 410 view_manager_service_.Pass(), application_impl_->shell(), this));
411 } 411 }
412 412
413 } // namespace window_manager 413 } // namespace window_manager
OLDNEW
« no previous file with comments | « services/window_manager/window_manager_root.h ('k') | services/window_manager/window_manager_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698