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

Unified Diff: ash/mus/bridge/shell_port_mash.cc

Issue 2901563002: chromeos: adds TouchDeviceServer and wires up in mushrome (Closed)
Patch Set: Created 3 years, 7 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
Index: ash/mus/bridge/shell_port_mash.cc
diff --git a/ash/mus/bridge/shell_port_mash.cc b/ash/mus/bridge/shell_port_mash.cc
index 5df798f1a6d2cc83e53d7536a081e3d342c47ca7..0a814dbd7dd4482a1caf26038a4fa024f6a2c8ad 100644
--- a/ash/mus/bridge/shell_port_mash.cc
+++ b/ash/mus/bridge/shell_port_mash.cc
@@ -23,6 +23,7 @@
#include "ash/mus/drag_window_resizer.h"
#include "ash/mus/keyboard_ui_mus.h"
#include "ash/mus/screen_mus.h"
+#include "ash/mus/touch_transform_setter_mus.h"
#include "ash/mus/window_manager.h"
#include "ash/public/cpp/config.h"
#include "ash/public/cpp/shell_window_ids.h"
@@ -268,6 +269,13 @@ void ShellPortMash::SetDisplayWorkAreaInsets(WmWindow* window,
window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets);
}
+std::unique_ptr<display::TouchTransformSetter>
+ShellPortMash::CreateTouchTransformDelegate() {
+ std::unique_ptr<TouchTransformSetterMus> delegate =
+ base::MakeUnique<TouchTransformSetterMus>(window_manager_->connector());
+ return delegate;
+}
+
void ShellPortMash::LockCursor() {
window_manager_->window_manager_client()->LockCursor();
}

Powered by Google App Engine
This is Rietveld 408576698