 Chromium Code Reviews
 Chromium Code Reviews Issue 2002773002:
  Add overscanCalibration methods to system_display.idl  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 2002773002:
  Add overscanCalibration methods to system_display.idl  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: extensions/common/api/system_display.idl | 
| diff --git a/extensions/common/api/system_display.idl b/extensions/common/api/system_display.idl | 
| index ccb4a716dda6185ffd72a59b35b557b5cdfebee2..31fe79c6e97ae7522f0578a9d999d9453f14652b 100644 | 
| --- a/extensions/common/api/system_display.idl | 
| +++ b/extensions/common/api/system_display.idl | 
| @@ -180,6 +180,30 @@ namespace system.display { | 
| // NOTE: This is only available to Chrome OS Kiosk apps and Web UI. | 
| // |enabled|: True if unified desktop should be enabled. | 
| static void enableUnifiedDesktop(boolean enabled); | 
| + | 
| + // Starts overscan calibration for a display. This will show an overlay | 
| + // on the screen indicating the current overscan insets. If overscan | 
| + // calibration for display |id| is in progress this will reset calibration. | 
| + // |id|: The display's unique identifier. | 
| + static void overscanCalibrationStart(DOMString id); | 
| + | 
| + // Adjusts the current overscan insets for a display. Typically this should | 
| + // etiher move the display along an axis (e.g. left+right have the same | 
| + // value) or scale it along an axis (e.g. top+bottom have opposite values). | 
| + // Each Adjust call is cumulative with previous calls since Start. | 
| + // |id|: The display's unique identifier. | 
| + // |delta|: The amount to change the overscan insets. | 
| + static void overscanCalibrationAdjust(DOMString id, Insets delta); | 
| + | 
| + // Resets the overscan insets for a display to the last saved value (i.e | 
| + // before Start was called). | 
| + // |id|: The display's unique identifier. | 
| + static void overscanCalibrationReset(DOMString id); | 
| + | 
| + // Complete overscan adjustments for a display by saving the current values | 
| 
oshima
2016/05/21 01:16:36
nit: extra space between "display" and "by"
 | 
| + // and hiding the overlay. | 
| + // |id|: The display's unique identifier. | 
| + static void overscanCalibrationComplete(DOMString id); | 
| }; | 
| interface Events { |