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

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

Issue 790623003: Restructure public side of view_manager service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: BUILD.gn file reorderings Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_app.h" 5 #include "services/window_manager/window_manager_app.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "mojo/converters/geometry/geometry_type_converters.h" 9 #include "mojo/converters/geometry/geometry_type_converters.h"
10 #include "mojo/converters/input_events/input_events_type_converters.h" 10 #include "mojo/converters/input_events/input_events_type_converters.h"
11 #include "mojo/public/cpp/application/application_connection.h" 11 #include "mojo/public/cpp/application/application_connection.h"
12 #include "mojo/public/cpp/application/application_impl.h" 12 #include "mojo/public/cpp/application/application_impl.h"
13 #include "mojo/public/interfaces/application/shell.mojom.h" 13 #include "mojo/public/interfaces/application/shell.mojom.h"
14 #include "mojo/services/public/cpp/view_manager/view.h" 14 #include "mojo/services/view_manager/public/cpp/view.h"
15 #include "mojo/services/public/cpp/view_manager/view_manager.h" 15 #include "mojo/services/view_manager/public/cpp/view_manager.h"
16 #include "services/window_manager/focus_controller.h" 16 #include "services/window_manager/focus_controller.h"
17 #include "services/window_manager/focus_rules.h" 17 #include "services/window_manager/focus_rules.h"
18 #include "services/window_manager/view_event_dispatcher.h" 18 #include "services/window_manager/view_event_dispatcher.h"
19 #include "services/window_manager/view_target.h" 19 #include "services/window_manager/view_target.h"
20 #include "services/window_manager/view_targeter.h" 20 #include "services/window_manager/view_targeter.h"
21 #include "services/window_manager/window_manager_delegate.h" 21 #include "services/window_manager/window_manager_delegate.h"
22 #include "ui/base/hit_test.h" 22 #include "ui/base/hit_test.h"
23 23
24 using mojo::ApplicationConnection; 24 using mojo::ApplicationConnection;
25 using mojo::Id; 25 using mojo::Id;
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 void WindowManagerApp::CreateWindowManagerForViewManagerClient( 340 void WindowManagerApp::CreateWindowManagerForViewManagerClient(
341 uint16_t connection_id, 341 uint16_t connection_id,
342 mojo::ScopedMessagePipeHandle window_manager_pipe) { 342 mojo::ScopedMessagePipeHandle window_manager_pipe) {
343 WindowManagerImpl* wm = new WindowManagerImpl(this, true); 343 WindowManagerImpl* wm = new WindowManagerImpl(this, true);
344 wm->Bind(window_manager_pipe.Pass()); 344 wm->Bind(window_manager_pipe.Pass());
345 // WindowManagerImpl is deleted when the connection has an error, or from our 345 // WindowManagerImpl is deleted when the connection has an error, or from our
346 // destructor. 346 // destructor.
347 } 347 }
348 348
349 } // namespace window_manager 349 } // namespace window_manager
OLDNEW
« no previous file with comments | « services/window_manager/window_manager_app.h ('k') | services/window_manager/window_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698