| 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..5aea369f189194e7b8e1123a55ed72ee275eb684 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,16 @@ 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);
|
| + virtual bool IsTouchCalibrationActive(const std::string& id);
|
| +
|
| protected:
|
| DisplayInfoProvider();
|
|
|
|
|