Jonas Jenwald
b8bb1d67d4
[GENERIC viewer] Export some viewer constants in the default viewer (issue 15294)
...
This exports the same constants as the viewer components, but in the default viewer. To avoid bloating the global-scope the constants are added to a new `PDFViewerApplicationConstants` object[1], which also allows us to skip this in builds where it's not actually needed (e.g. the Firefox *built-in* PDF Viewer).
*Please note:* I'm not completely sold on this idea, and thus wouldn't mind the patch being rejected, since we probably don't want to export every single viewer constant this way. (And it may seem a bit arbitrary, to users, why some constants are exported and others are not.)
---
[1] Somewhat similar to the existing `PDFViewerApplicationOptions` structure.
2022-08-11 16:22:12 +02:00
..
2022-07-07 18:23:59 +02:00
2015-01-26 16:44:45 +01:00
2022-08-02 10:26:46 +02:00
2022-07-19 18:52:17 +02:00
2022-07-27 18:46:25 +02:00
2022-08-04 11:14:05 +02:00
2022-07-04 12:27:20 +02:00
2022-07-31 17:40:26 +02:00
2022-08-03 09:54:27 +02:00
2022-06-13 10:47:37 +02:00
2022-08-09 20:35:35 +02:00
2015-08-14 18:59:55 +02:00
2022-03-28 11:36:31 +02:00
2011-07-05 10:53:57 -07:00
2022-04-16 14:16:39 +02:00
2022-06-12 13:07:03 +02:00
2022-07-29 16:31:04 +02:00
2022-06-12 13:07:03 +02:00
2021-12-15 17:18:57 +01:00
2022-08-03 17:25:01 +02:00
2022-07-05 22:12:56 +02:00
2022-01-23 19:53:01 +01:00
2022-03-12 17:25:45 +01:00
2021-12-15 23:14:25 +01:00
2022-06-12 13:07:03 +02:00
2022-07-29 16:31:04 +02:00
2022-07-19 18:52:17 +02:00
2022-06-13 10:47:37 +02:00
2022-03-28 11:36:31 +02:00
2022-06-12 13:07:03 +02:00
2022-03-06 16:06:53 +01:00
2022-05-28 12:39:49 +02:00
2022-03-31 23:12:56 +02:00
2022-07-19 18:52:17 +02:00
2019-12-26 12:34:24 +01:00
2022-04-05 14:13:20 +02:00
2022-06-24 20:15:46 +02:00
2022-03-04 12:11:52 +01:00
2022-06-12 13:07:03 +02:00
2022-07-30 16:53:32 +02:00
2022-07-01 16:52:17 +02:00
2022-06-23 17:06:46 +02:00
2021-12-15 23:17:08 +01:00
2022-06-18 16:43:05 +02:00
2022-05-25 09:55:54 +02:00
2022-05-27 11:36:01 +02:00
2022-07-31 13:59:56 +02:00
2022-07-24 17:29:37 +02:00
2022-08-11 16:22:07 +02:00
2022-06-29 11:52:19 +02:00
2021-10-12 13:45:19 +02:00
2019-12-26 12:34:24 +01:00
2022-03-12 17:25:45 +01:00
2022-06-12 13:07:03 +02:00
2022-08-09 22:39:38 +02:00
2022-06-12 13:07:03 +02:00
2022-06-13 10:47:37 +02:00
2022-03-24 14:20:27 +01:00
2022-06-12 13:07:03 +02:00
2022-08-09 22:39:38 +02:00
2022-07-21 10:03:02 +02:00
2020-03-21 13:55:06 +01:00
2017-05-31 09:22:25 -05:00
2022-03-28 11:36:29 +02:00
2019-01-23 20:33:20 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2022-07-30 20:07:44 +02:00
2022-07-28 10:02:59 +02:00
2022-08-11 16:22:12 +02:00
2022-06-07 17:02:11 +02:00
2022-06-12 13:07:03 +02:00