summaryrefslogtreecommitdiffstats
path: root/widget/nsIClipboardHelper.idl
diff options
context:
space:
mode:
Diffstat (limited to 'widget/nsIClipboardHelper.idl')
-rw-r--r--widget/nsIClipboardHelper.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/widget/nsIClipboardHelper.idl b/widget/nsIClipboardHelper.idl
index ed4af112f1..370c652b31 100644
--- a/widget/nsIClipboardHelper.idl
+++ b/widget/nsIClipboardHelper.idl
@@ -29,17 +29,29 @@ interface nsIClipboardHelper : nsISupports
* @param aString, the string to copy to the clipboard
* @param aClipboardID, the ID of the clipboard to copy to
* (eg. kSelectionClipboard -- see nsIClipboard.idl)
+ * @param aSettingWindowContext
+ * The window context that is setting the clipboard, if any. This is used
+ * to possibly bypass Content Analysis if a set clipboard and get clipboard
+ * operation are done on the same page.
* @param aSensitive, optional flag to indicate that data is sensitive, like a password.
* That will exclude data from Cloud Clipboard/Clipboard History on Windows.
*/
void copyStringToClipboard(in AString aString, in long aClipboardID,
+ [optional] in WindowContext aSettingWindowContext,
[optional, default(NotSensitive)] in nsIClipboardHelper_SensitiveData aSensitive);
/**
* copy string to (default) clipboard
*
* @param aString, the string to copy to the clipboard
+ * @param aSettingWindowContext
+ * The window context that is setting the clipboard, if any. This is used
+ * to possibly bypass Content Analysis if a set clipboard and get clipboard
+ * operation are done on the same page.
+ * @param aSensitive, optional flag to indicate that data is sensitive, like a password.
+ * That will exclude data from Cloud Clipboard/Clipboard History on Windows.
*/
void copyString(in AString aString,
+ [optional] in WindowContext aSettingWindowContext,
[optional, default(NotSensitive)] in nsIClipboardHelper_SensitiveData aSensitive);
};