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

Unified Diff: ash/aura/shell_port_classic.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/aura/shell_port_classic.h ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..794ba2054904db9bf0a15409c64130d25482ef2a 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,11 @@ void ShellPortClassic::SetDisplayWorkAreaInsets(WmWindow* window,
->UpdateWorkAreaOfDisplayNearestWindow(window->aura_window(), insets);
}
+std::unique_ptr<display::TouchTransformSetter>
+ShellPortClassic::CreateTouchTransformDelegate() {
+ return base::MakeUnique<display::DefaultTouchTransformSetter>();
+}
+
void ShellPortClassic::LockCursor() {
Shell::Get()->cursor_manager()->LockCursor();
}
« no previous file with comments | « ash/aura/shell_port_classic.h ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698