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; |