| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ |
| 6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ | 6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "extensions/browser/extension_function.h" | 10 #include "extensions/browser/extension_function.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 : public SystemDisplayFunction { | 114 : public SystemDisplayFunction { |
| 115 public: | 115 public: |
| 116 DECLARE_EXTENSION_FUNCTION("system.display.overscanCalibrationComplete", | 116 DECLARE_EXTENSION_FUNCTION("system.display.overscanCalibrationComplete", |
| 117 SYSTEM_DISPLAY_OVERSCANCALIBRATIONCOMPLETE); | 117 SYSTEM_DISPLAY_OVERSCANCALIBRATIONCOMPLETE); |
| 118 | 118 |
| 119 protected: | 119 protected: |
| 120 ~SystemDisplayOverscanCalibrationCompleteFunction() override {} | 120 ~SystemDisplayOverscanCalibrationCompleteFunction() override {} |
| 121 ResponseAction Run() override; | 121 ResponseAction Run() override; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 class SystemDisplayTouchCalibrationStartFunction |
| 125 : public SystemDisplayFunction { |
| 126 public: |
| 127 DECLARE_EXTENSION_FUNCTION("system.display.touchCalibrationStart", |
| 128 SYSTEM_DISPLAY_TOUCHCALIBRATIONSTART); |
| 129 |
| 130 protected: |
| 131 ~SystemDisplayTouchCalibrationStartFunction() override {} |
| 132 ResponseAction Run() override; |
| 133 }; |
| 134 |
| 135 class SystemDisplayTouchCalibrationSetFunction |
| 136 : public SystemDisplayFunction { |
| 137 public: |
| 138 DECLARE_EXTENSION_FUNCTION("system.display.touchCalibrationSet", |
| 139 SYSTEM_DISPLAY_TOUCHCALIBRATIONSET); |
| 140 |
| 141 protected: |
| 142 ~SystemDisplayTouchCalibrationSetFunction() override {} |
| 143 ResponseAction Run() override; |
| 144 }; |
| 145 |
| 146 class SystemDisplayTouchCalibrationResetFunction |
| 147 : public SystemDisplayFunction { |
| 148 public: |
| 149 DECLARE_EXTENSION_FUNCTION("system.display.touchCalibrationReset", |
| 150 SYSTEM_DISPLAY_TOUCHCALIBRATIONRESET); |
| 151 |
| 152 protected: |
| 153 ~SystemDisplayTouchCalibrationResetFunction() override {} |
| 154 ResponseAction Run() override; |
| 155 }; |
| 156 |
| 124 } // namespace extensions | 157 } // namespace extensions |
| 125 | 158 |
| 126 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ | 159 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ |
| OLD | NEW |