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

Unified Diff: ash/shell_port.h

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/shell.cc ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_port.h
diff --git a/ash/shell_port.h b/ash/shell_port.h
index 375cbdbd119b6a5fe27331c431ab9c51850cc68c..a23363e6a74427508be6a5367593ed7497fa43b3 100644
--- a/ash/shell_port.h
+++ b/ash/shell_port.h
@@ -26,6 +26,7 @@ namespace display {
class Display;
class ManagedDisplayInfo;
class NativeDisplayDelegate;
+class TouchTransformSetter;
}
namespace gfx {
@@ -125,6 +126,13 @@ class ASH_EXPORT ShellPort {
// window if any, or remove modal screens on all displays.
void OnModalWindowRemoved(aura::Window* removed);
+ // The return value from this is supplied to AshTouchTransformController; see
+ // it and TouchTransformSetter for details.
+ // TODO(sky): remove once simplified disable management enabled everywhere;
+ // http://crbug.com/718860.
+ virtual std::unique_ptr<display::TouchTransformSetter>
+ CreateTouchTransformDelegate() = 0;
+
// For testing only: set simulation that a modal window is open
void SimulateModalWindowOpenForTesting(bool modal_window_open) {
simulate_modal_window_open_for_testing_ = modal_window_open;
« no previous file with comments | « ash/shell.cc ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698