| Index: chrome/browser/chromeos/display/display_preferences.h
|
| diff --git a/chrome/browser/chromeos/display/display_preferences.h b/chrome/browser/chromeos/display/display_preferences.h
|
| index 56d3d7fd7d0d33f36f2eeb8ee695958c98b68636..cf5e7067239f9c73c18411560cb013466fed3244 100644
|
| --- a/chrome/browser/chromeos/display/display_preferences.h
|
| +++ b/chrome/browser/chromeos/display/display_preferences.h
|
| @@ -6,12 +6,17 @@
|
| #define CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_
|
|
|
| #include <stdint.h>
|
| +#include <array>
|
|
|
| #include "third_party/cros_system_api/dbus/service_constants.h"
|
| #include "ui/display/display_layout.h"
|
|
|
| class PrefRegistrySimple;
|
|
|
| +namespace gfx {
|
| +class Point;
|
| +}
|
| +
|
| namespace chromeos {
|
|
|
| // Registers the prefs associated with display settings and stored
|
| @@ -38,6 +43,13 @@ void StoreDisplayLayoutPrefForTest(const display::DisplayIdList& list,
|
| // Stores the given |power_state| for tests.
|
| void StoreDisplayPowerStateForTest(DisplayPowerState power_state);
|
|
|
| +// Parses the marshalled string data stored in local preferences for calibration
|
| +// points and populates |point_pair_quad| using the unmarshalled data.
|
| +// See TouchCalibrationData in Managed display info.
|
| +bool ParseTouchCalibrationStringForTest(
|
| + const std::string& str,
|
| + std::array<std::pair<gfx::Point, gfx::Point>, 4>* point_pair_quad);
|
| +
|
| } // namespace chromeos
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_DISPLAY_PREFERENCES_H_
|
|
|