Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: extensions/common/api/system_display.idl

Issue 2002773002: Add overscanCalibration methods to system_display.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | third_party/closure_compiler/externs/system_display.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698