Parameters for window.setNoDragRegions.
Set non-draggable exclusion rectangles (such as buttons inside a drag area), replacing earlier ones. Rectangles use page CSS pixels and are scaled by devicePixelRatio. Update these rectangles whenever devicePixelRatio changes. Rectangles without positive width and height are ignored. Fails in panel mode, or with NOT_FOUND if the caller is neither the main window nor a popup.
Parameters for
window.setNoDragRegions. Set non-draggable exclusion rectangles (such as buttons inside a drag area), replacing earlier ones. Rectangles use page CSS pixels and are scaled bydevicePixelRatio. Update these rectangles wheneverdevicePixelRatiochanges. Rectangles without positive width and height are ignored. Fails in panel mode, or withNOT_FOUNDif the caller is neither the main window nor a popup.