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

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

Issue 2901563002: chromeos: adds TouchDeviceServer and wires up in mushrome (Closed)
Patch Set: no temporary 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
« no previous file with comments | « ash/mus/bridge/shell_port_mash.h ('k') | ash/mus/touch_transform_setter_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1ee218f48b7fc6829b43f7302532effa12efd434 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,12 @@ void ShellPortMash::SetDisplayWorkAreaInsets(WmWindow* window,
window_manager_->screen()->SetWorkAreaInsets(window->aura_window(), insets);
}
+std::unique_ptr<display::TouchTransformSetter>
+ShellPortMash::CreateTouchTransformDelegate() {
+ return base::MakeUnique<TouchTransformSetterMus>(
+ window_manager_->connector());
+}
+
void ShellPortMash::LockCursor() {
window_manager_->window_manager_client()->LockCursor();
}
« no previous file with comments | « ash/mus/bridge/shell_port_mash.h ('k') | ash/mus/touch_transform_setter_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698