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

Unified Diff: ash/aura/shell_port_classic.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/aura/shell_port_classic.cc
diff --git a/ash/aura/shell_port_classic.cc b/ash/aura/shell_port_classic.cc
index 0c8a8fc3930fb63c77b597c6e818d1718542818b..b3e05a283c144cda4bf71daa871bef9c8143ee46 100644
--- a/ash/aura/shell_port_classic.cc
+++ b/ash/aura/shell_port_classic.cc
@@ -37,6 +37,7 @@
#include "ash/wm_window.h"
#include "base/memory/ptr_util.h"
#include "ui/aura/env.h"
+#include "ui/display/manager/chromeos/default_touch_transform_setter.h"
#include "ui/display/manager/display_manager.h"
#include "ui/display/types/native_display_delegate.h"
@@ -118,6 +119,13 @@ void ShellPortClassic::SetDisplayWorkAreaInsets(WmWindow* window,
->UpdateWorkAreaOfDisplayNearestWindow(window->aura_window(), insets);
}
+std::unique_ptr<display::TouchTransformSetter>
+ShellPortClassic::CreateTouchTransformDelegate() {
+ std::unique_ptr<display::DefaultTouchTransformSetter> delegate =
+ base::MakeUnique<display::DefaultTouchTransformSetter>();
+ return delegate;
+}
+
void ShellPortClassic::LockCursor() {
Shell::Get()->cursor_manager()->LockCursor();
}

Powered by Google App Engine
This is Rietveld 408576698