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

Side by Side Diff: ash/touch_hud/mus/touch_hud_application.cc

Issue 2611773002: Removes code using mus client lib (Closed)
Patch Set: dont run on linux Created 3 years, 11 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 | « ash/mus/window_manager_application.cc ('k') | services/navigation/view_impl.cc » ('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 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 "ash/touch_hud/mus/touch_hud_application.h" 5 #include "ash/touch_hud/mus/touch_hud_application.h"
6 6
7 #include "ash/public/cpp/shell_window_ids.h" 7 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/touch_hud/touch_hud_renderer.h" 8 #include "ash/touch_hud/touch_hud_renderer.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "services/service_manager/public/cpp/connector.h" 12 #include "services/service_manager/public/cpp/connector.h"
13 #include "services/service_manager/public/cpp/interface_registry.h" 13 #include "services/service_manager/public/cpp/interface_registry.h"
14 #include "services/service_manager/public/cpp/service_context.h" 14 #include "services/service_manager/public/cpp/service_context.h"
15 #include "services/ui/public/cpp/property_type_converters.h" 15 #include "services/ui/public/cpp/property_type_converters.h"
16 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 16 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
17 #include "ui/aura/mus/property_converter.h" 17 #include "ui/aura/mus/property_converter.h"
18 #include "ui/views/mus/aura_init.h" 18 #include "ui/views/mus/aura_init.h"
19 #include "ui/views/mus/mus_client.h" 19 #include "ui/views/mus/mus_client.h"
20 #include "ui/views/mus/native_widget_mus.h"
21 #include "ui/views/mus/pointer_watcher_event_router2.h" 20 #include "ui/views/mus/pointer_watcher_event_router2.h"
22 #include "ui/views/pointer_watcher.h" 21 #include "ui/views/pointer_watcher.h"
23 #include "ui/views/widget/widget.h" 22 #include "ui/views/widget/widget.h"
24 #include "ui/views/widget/widget_delegate.h" 23 #include "ui/views/widget/widget_delegate.h"
25 24
26 namespace ash { 25 namespace ash {
27 namespace touch_hud { 26 namespace touch_hud {
28 27
29 // TouchHudUI handles events on the widget of the touch-hud app. After 28 // TouchHudUI handles events on the widget of the touch-hud app. After
30 // receiving touch events from PointerWatcher, it calls ash::TouchHudRenderer to 29 // receiving touch events from PointerWatcher, it calls ash::TouchHudRenderer to
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 101
103 void TouchHudApplication::Create( 102 void TouchHudApplication::Create(
104 const service_manager::Identity& remote_identity, 103 const service_manager::Identity& remote_identity,
105 mash::mojom::LaunchableRequest request) { 104 mash::mojom::LaunchableRequest request) {
106 binding_.Close(); 105 binding_.Close();
107 binding_.Bind(std::move(request)); 106 binding_.Bind(std::move(request));
108 } 107 }
109 108
110 } // namespace touch_hud 109 } // namespace touch_hud
111 } // namespace ash 110 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698