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

Unified Diff: ash/display/event_transformation_handler.h

Issue 14279002: Scale TouchEvent's radius when touchscreen is in mirror mode (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: including chromeos/display/output_configurator.h only when defined(OS_CHROMEOS) Created 7 years, 8 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/display/event_transformation_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/event_transformation_handler.h
diff --git a/ash/display/event_transformation_handler.h b/ash/display/event_transformation_handler.h
index 9cf0add78c9c85309ae0279e523cd089c128d969..b2a716777699937cfeff4822985792c3b88b8693 100644
--- a/ash/display/event_transformation_handler.h
+++ b/ash/display/event_transformation_handler.h
@@ -14,7 +14,7 @@ namespace ash {
namespace internal {
// An event filter that transforms input event properties in extended desktop
-// environment. It currently handles only ScrollEvents.
+// environment.
class ASH_EXPORT EventTransformationHandler : public ui::EventHandler {
public:
enum TransformationMode {
@@ -33,6 +33,9 @@ class ASH_EXPORT EventTransformationHandler : public ui::EventHandler {
// Overridden from ui::EventHandler.
virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
+#if defined(OS_CHROMEOS)
+ virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
+#endif // defined(OS_CHROMEOS)
private:
TransformationMode transformation_mode_;
@@ -44,4 +47,3 @@ class ASH_EXPORT EventTransformationHandler : public ui::EventHandler {
} // namespace ash
#endif // ASH_DISPLAY_EVENT_TRANSFORMATION_HANDLER_H_
-
« no previous file with comments | « no previous file | ash/display/event_transformation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698