| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // DisplayInfoProvider implementation. | 33 // DisplayInfoProvider implementation. |
| 34 bool SetInfo(const std::string& display_id, | 34 bool SetInfo(const std::string& display_id, |
| 35 const api::system_display::DisplayProperties& info, | 35 const api::system_display::DisplayProperties& info, |
| 36 std::string* error) override; | 36 std::string* error) override; |
| 37 bool SetDisplayLayout(const DisplayLayoutList& layouts) override; | 37 bool SetDisplayLayout(const DisplayLayoutList& layouts) override; |
| 38 void UpdateDisplayUnitInfoForPlatform( | 38 void UpdateDisplayUnitInfoForPlatform( |
| 39 const display::Display& display, | 39 const display::Display& display, |
| 40 api::system_display::DisplayUnitInfo* unit) override; | 40 api::system_display::DisplayUnitInfo* unit) override; |
| 41 void EnableUnifiedDesktop(bool enable) override; | 41 void EnableUnifiedDesktop(bool enable) override; |
| 42 DisplayUnitInfoList GetAllDisplaysInfo() override; | 42 DisplayUnitInfoList GetAllDisplaysInfo(bool single_unified) override; |
| 43 DisplayLayoutList GetDisplayLayout() override; | 43 DisplayLayoutList GetDisplayLayout() override; |
| 44 bool OverscanCalibrationStart(const std::string& id) override; | 44 bool OverscanCalibrationStart(const std::string& id) override; |
| 45 bool OverscanCalibrationAdjust( | 45 bool OverscanCalibrationAdjust( |
| 46 const std::string& id, | 46 const std::string& id, |
| 47 const api::system_display::Insets& delta) override; | 47 const api::system_display::Insets& delta) override; |
| 48 bool OverscanCalibrationReset(const std::string& id) override; | 48 bool OverscanCalibrationReset(const std::string& id) override; |
| 49 bool OverscanCalibrationComplete(const std::string& id) override; | 49 bool OverscanCalibrationComplete(const std::string& id) override; |
| 50 bool ShowNativeTouchCalibration( | 50 bool ShowNativeTouchCalibration( |
| 51 const std::string& id, std::string* error, | 51 const std::string& id, std::string* error, |
| 52 const TouchCalibrationCallback& callback) override; | 52 const TouchCalibrationCallback& callback) override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 72 | 72 |
| 73 std::string touch_calibration_target_id_; | 73 std::string touch_calibration_target_id_; |
| 74 bool custom_touch_calibration_active_ = false; | 74 bool custom_touch_calibration_active_ = false; |
| 75 | 75 |
| 76 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS); | 76 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace extensions | 79 } // namespace extensions |
| 80 | 80 |
| 81 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ | 81 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ |
| OLD | NEW |