| Index: chrome/browser/extensions/display_info_provider_chromeos.h
|
| diff --git a/chrome/browser/extensions/display_info_provider_chromeos.h b/chrome/browser/extensions/display_info_provider_chromeos.h
|
| index 5db2116d8ddb3645274e5ee0f20de0b32374283e..142d8da4a571306a68a152d1d410b89793fc6860 100644
|
| --- a/chrome/browser/extensions/display_info_provider_chromeos.h
|
| +++ b/chrome/browser/extensions/display_info_provider_chromeos.h
|
| @@ -5,9 +5,16 @@
|
| #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
|
| #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
|
|
|
| +#include <map>
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "extensions/browser/api/system_display/display_info_provider.h"
|
|
|
| +namespace chromeos {
|
| +class OverscanCalibrator;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| class DisplayInfoProviderChromeOS : public DisplayInfoProvider {
|
| @@ -24,8 +31,19 @@ class DisplayInfoProviderChromeOS : public DisplayInfoProvider {
|
| api::system_display::DisplayUnitInfo* unit) override;
|
| void EnableUnifiedDesktop(bool enable) override;
|
| DisplayUnitInfoList GetAllDisplaysInfo() override;
|
| + bool OverscanCalibrationStart(const std::string& id) override;
|
| + bool OverscanCalibrationAdjust(
|
| + const std::string& id,
|
| + const api::system_display::Insets& delta) override;
|
| + bool OverscanCalibrationReset(const std::string& id) override;
|
| + bool OverscanCalibrationComplete(const std::string& id) override;
|
|
|
| private:
|
| + std::map<std::string, std::unique_ptr<chromeos::OverscanCalibrator>>
|
| + overscan_calibrators_;
|
| +
|
| + chromeos::OverscanCalibrator* GetCalibrator(const std::string& id);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS);
|
| };
|
|
|
|
|