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

Unified Diff: services/ui/service.cc

Issue 2627623003: Add full touch support to mus. (Closed)
Patch Set: Fixes. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/service.h ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 2e7f078a666ad39ec00786d774b76ec8cf3308e6..2e789c8993b200daa95639205ac51ec0ed0c29a5 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -191,12 +191,6 @@ void Service::OnStart() {
// Gpu must be running before the ScreenManager can be initialized.
window_server_.reset(new ws::WindowServer(this));
- // DeviceDataManager must be initialized before TouchController. On non-Linux
- // platforms there is no DeviceDataManager so don't create touch controller.
- if (ui::DeviceDataManager::HasInstance())
- touch_controller_.reset(
- new ws::TouchController(window_server_->display_manager()));
-
ime_server_.Init(context()->connector(), test_config_);
discardable_shared_memory_manager_ =
@@ -263,11 +257,6 @@ bool Service::IsTestConfig() const {
return test_config_;
}
-void Service::UpdateTouchTransforms() {
- if (touch_controller_)
- touch_controller_->UpdateTouchTransforms();
-}
-
void Service::Create(const service_manager::Identity& remote_identity,
mojom::AccessibilityManagerRequest request) {
UserState* user_state = GetUserState(remote_identity);
« no previous file with comments | « services/ui/service.h ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698