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

Unified Diff: ash/touch/touch_transformer_controller.h

Issue 1130983005: ash: Refactor of TouchTransformerController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_transformer_controller.h
diff --git a/ash/touch/touch_transformer_controller.h b/ash/touch/touch_transformer_controller.h
index 1ca7acf918b08bb9a91ed426e71cf68d56e1d4d1..45d1a91d62f1431ef903473aabdb2dd90b475c89 100644
--- a/ash/touch/touch_transformer_controller.h
+++ b/ash/touch/touch_transformer_controller.h
@@ -61,6 +61,16 @@ class ASH_EXPORT TouchTransformerController
const DisplayInfo& touch_display,
const ui::TouchscreenDevice& touch_device) const;
+ // For the provided |display| update the touch touch radius mapping.
Daniel Erat 2015/05/13 15:41:23 you have an extra "touch" in this comment
+ void UpdateTouchRadius(const DisplayInfo& display) const;
+
+ // For a given |target_display| and |target_display_id| (which will be
+ // different in the case of non-software mirroring) update the touch
+ // transformation based on the touch device associated with |touch_display|.
+ void UpdateTouchTransform(int64_t target_display_id,
dnicoara 2015/05/13 16:04:16 nit: Would you mind adding a description on what e
+ const DisplayInfo& touch_display,
+ const DisplayInfo& target_display) const;
+
DISALLOW_COPY_AND_ASSIGN(TouchTransformerController);
};
« no previous file with comments | « no previous file | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698