summaryrefslogtreecommitdiffstats
path: root/widget/nsIClipboardHelper.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /widget/nsIClipboardHelper.idl
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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);
};