summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/pdf/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/pdf/constants.js')
-rw-r--r--chromium/chrome/browser/resources/pdf/constants.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/pdf/constants.js b/chromium/chrome/browser/resources/pdf/constants.js
index 70da3e827d7..475061b73ae 100644
--- a/chromium/chrome/browser/resources/pdf/constants.js
+++ b/chromium/chrome/browser/resources/pdf/constants.js
@@ -21,3 +21,14 @@ export const TwoUpViewAction = {
TWO_UP_VIEW_ENABLE: 'two-up-view-enable',
TWO_UP_VIEW_DISABLE: 'two-up-view-disable',
};
+
+/**
+ * Enumeration of save message request types. Must Match SaveRequestType in
+ * pdf/out_of_process_instance.h.
+ * @enum {number}
+ */
+export const SaveRequestType = {
+ ANNOTATION: 0,
+ ORIGINAL: 1,
+ EDITED: 2,
+};