Index: extensions/browser/api/system_display/display_info_provider.h |
diff --git a/extensions/browser/api/system_display/display_info_provider.h b/extensions/browser/api/system_display/display_info_provider.h |
index 54e44abf7f56e5844d674b887ec863a65bc6a6c5..4cccbdfdbe3d300f7a5e2d0d901044664f647686 100644 |
--- a/extensions/browser/api/system_display/display_info_provider.h |
+++ b/extensions/browser/api/system_display/display_info_provider.h |
@@ -20,10 +20,12 @@ namespace extensions { |
namespace api { |
namespace system_display { |
+struct Bounds; |
struct DisplayLayout; |
struct DisplayProperties; |
struct DisplayUnitInfo; |
struct Insets; |
+struct TouchCalibrationPairQuad; |
} |
} |
@@ -71,6 +73,15 @@ class DisplayInfoProvider { |
virtual bool OverscanCalibrationReset(const std::string& id); |
virtual bool OverscanCalibrationComplete(const std::string& id); |
+ // Implements touch calibration methods. See system_display.idl. This returns |
+ // false if |id| is invalid. |
+ virtual bool TouchCalibrationStart(const std::string& id); |
+ virtual bool TouchCalibrationSet( |
+ const std::string& id, |
+ const api::system_display::TouchCalibrationPairQuad& pairs, |
+ const api::system_display::Bounds& bounds); |
+ virtual bool TouchCalibrationReset(const std::string& id); |
+ |
protected: |
DisplayInfoProvider(); |