From 216c369184095d1d3b932b264a622c796b4ba241 Mon Sep 17 00:00:00 2001 From: "gene@chromium.org" Date: Fri, 15 Apr 2011 22:50:06 +0000 Subject: Added functionality to use "SaveAs..." from PDF plugin. It is exactly the same experience as user right-click and select "SaveAs..." from pop-up menu. No disk access allowed for plugin. DIscussed it with Chris Evans and he is ok with this solution from the security stand point. Also added PDF resources for new UI. BUG=56072,75235 TEST=none, will send PDF cl separately. Review URL: http://codereview.chromium.org/6871020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81822 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/resources/pdf_button_fth.png | Bin 1402 -> 0 bytes webkit/glue/resources/pdf_button_fth_hover.png | Bin 1438 -> 0 bytes webkit/glue/resources/pdf_button_fth_pressed.png | Bin 1203 -> 0 bytes webkit/glue/resources/pdf_button_ftp.png | Bin 0 -> 1445 bytes webkit/glue/resources/pdf_button_ftp_hover.png | Bin 0 -> 1492 bytes webkit/glue/resources/pdf_button_ftp_pressed.png | Bin 0 -> 1195 bytes webkit/glue/resources/pdf_button_ftw.png | Bin 1082 -> 1275 bytes webkit/glue/resources/pdf_button_ftw_hover.png | Bin 1174 -> 1254 bytes webkit/glue/resources/pdf_button_ftw_pressed.png | Bin 914 -> 932 bytes webkit/glue/resources/pdf_button_print.png | Bin 0 -> 1134 bytes webkit/glue/resources/pdf_button_print_hover.png | Bin 0 -> 1113 bytes webkit/glue/resources/pdf_button_print_pressed.png | Bin 0 -> 898 bytes webkit/glue/resources/pdf_button_save.png | Bin 0 -> 923 bytes webkit/glue/resources/pdf_button_save_hover.png | Bin 0 -> 913 bytes webkit/glue/resources/pdf_button_save_pressed.png | Bin 0 -> 655 bytes webkit/glue/resources/pdf_button_zoomin.png | Bin 1655 -> 1604 bytes webkit/glue/resources/pdf_button_zoomin_hover.png | Bin 1682 -> 1570 bytes webkit/glue/resources/pdf_button_zoomin_pressed.png | Bin 1403 -> 1291 bytes webkit/glue/resources/pdf_button_zoomout.png | Bin 1464 -> 1538 bytes webkit/glue/resources/pdf_button_zoomout_hover.png | Bin 1491 -> 1489 bytes webkit/glue/resources/pdf_button_zoomout_pressed.png | Bin 1232 -> 1206 bytes webkit/glue/webkit_resources.grd | 12 +++++++++--- 22 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 webkit/glue/resources/pdf_button_fth.png delete mode 100644 webkit/glue/resources/pdf_button_fth_hover.png delete mode 100644 webkit/glue/resources/pdf_button_fth_pressed.png create mode 100644 webkit/glue/resources/pdf_button_ftp.png create mode 100644 webkit/glue/resources/pdf_button_ftp_hover.png create mode 100644 webkit/glue/resources/pdf_button_ftp_pressed.png create mode 100644 webkit/glue/resources/pdf_button_print.png create mode 100644 webkit/glue/resources/pdf_button_print_hover.png create mode 100644 webkit/glue/resources/pdf_button_print_pressed.png create mode 100644 webkit/glue/resources/pdf_button_save.png create mode 100644 webkit/glue/resources/pdf_button_save_hover.png create mode 100644 webkit/glue/resources/pdf_button_save_pressed.png (limited to 'webkit/glue') diff --git a/webkit/glue/resources/pdf_button_fth.png b/webkit/glue/resources/pdf_button_fth.png deleted file mode 100644 index 3b2cc9b..0000000 Binary files a/webkit/glue/resources/pdf_button_fth.png and /dev/null differ diff --git a/webkit/glue/resources/pdf_button_fth_hover.png b/webkit/glue/resources/pdf_button_fth_hover.png deleted file mode 100644 index 2904fd7..0000000 Binary files a/webkit/glue/resources/pdf_button_fth_hover.png and /dev/null differ diff --git a/webkit/glue/resources/pdf_button_fth_pressed.png b/webkit/glue/resources/pdf_button_fth_pressed.png deleted file mode 100644 index 6388c3a..0000000 Binary files a/webkit/glue/resources/pdf_button_fth_pressed.png and /dev/null differ diff --git a/webkit/glue/resources/pdf_button_ftp.png b/webkit/glue/resources/pdf_button_ftp.png new file mode 100644 index 0000000..06180b5 Binary files /dev/null and b/webkit/glue/resources/pdf_button_ftp.png differ diff --git a/webkit/glue/resources/pdf_button_ftp_hover.png b/webkit/glue/resources/pdf_button_ftp_hover.png new file mode 100644 index 0000000..e860119 Binary files /dev/null and b/webkit/glue/resources/pdf_button_ftp_hover.png differ diff --git a/webkit/glue/resources/pdf_button_ftp_pressed.png b/webkit/glue/resources/pdf_button_ftp_pressed.png new file mode 100644 index 0000000..8b00560 Binary files /dev/null and b/webkit/glue/resources/pdf_button_ftp_pressed.png differ diff --git a/webkit/glue/resources/pdf_button_ftw.png b/webkit/glue/resources/pdf_button_ftw.png index d4dacc5..6204843 100644 Binary files a/webkit/glue/resources/pdf_button_ftw.png and b/webkit/glue/resources/pdf_button_ftw.png differ diff --git a/webkit/glue/resources/pdf_button_ftw_hover.png b/webkit/glue/resources/pdf_button_ftw_hover.png index e5c98f4..e7a48ab 100644 Binary files a/webkit/glue/resources/pdf_button_ftw_hover.png and b/webkit/glue/resources/pdf_button_ftw_hover.png differ diff --git a/webkit/glue/resources/pdf_button_ftw_pressed.png b/webkit/glue/resources/pdf_button_ftw_pressed.png index 8db22b7..e300247 100644 Binary files a/webkit/glue/resources/pdf_button_ftw_pressed.png and b/webkit/glue/resources/pdf_button_ftw_pressed.png differ diff --git a/webkit/glue/resources/pdf_button_print.png b/webkit/glue/resources/pdf_button_print.png new file mode 100644 index 0000000..025eca1b Binary files /dev/null and b/webkit/glue/resources/pdf_button_print.png differ diff --git a/webkit/glue/resources/pdf_button_print_hover.png b/webkit/glue/resources/pdf_button_print_hover.png new file mode 100644 index 0000000..0328b19 Binary files /dev/null and b/webkit/glue/resources/pdf_button_print_hover.png differ diff --git a/webkit/glue/resources/pdf_button_print_pressed.png b/webkit/glue/resources/pdf_button_print_pressed.png new file mode 100644 index 0000000..c1148f5 Binary files /dev/null and b/webkit/glue/resources/pdf_button_print_pressed.png differ diff --git a/webkit/glue/resources/pdf_button_save.png b/webkit/glue/resources/pdf_button_save.png new file mode 100644 index 0000000..8848bac Binary files /dev/null and b/webkit/glue/resources/pdf_button_save.png differ diff --git a/webkit/glue/resources/pdf_button_save_hover.png b/webkit/glue/resources/pdf_button_save_hover.png new file mode 100644 index 0000000..a6f2527 Binary files /dev/null and b/webkit/glue/resources/pdf_button_save_hover.png differ diff --git a/webkit/glue/resources/pdf_button_save_pressed.png b/webkit/glue/resources/pdf_button_save_pressed.png new file mode 100644 index 0000000..237fad4 Binary files /dev/null and b/webkit/glue/resources/pdf_button_save_pressed.png differ diff --git a/webkit/glue/resources/pdf_button_zoomin.png b/webkit/glue/resources/pdf_button_zoomin.png index 3d399c6..f53382f 100644 Binary files a/webkit/glue/resources/pdf_button_zoomin.png and b/webkit/glue/resources/pdf_button_zoomin.png differ diff --git a/webkit/glue/resources/pdf_button_zoomin_hover.png b/webkit/glue/resources/pdf_button_zoomin_hover.png index 597f489..4534f2f 100644 Binary files a/webkit/glue/resources/pdf_button_zoomin_hover.png and b/webkit/glue/resources/pdf_button_zoomin_hover.png differ diff --git a/webkit/glue/resources/pdf_button_zoomin_pressed.png b/webkit/glue/resources/pdf_button_zoomin_pressed.png index 7847808..ecfa4bb 100644 Binary files a/webkit/glue/resources/pdf_button_zoomin_pressed.png and b/webkit/glue/resources/pdf_button_zoomin_pressed.png differ diff --git a/webkit/glue/resources/pdf_button_zoomout.png b/webkit/glue/resources/pdf_button_zoomout.png index c1b7c7c9..1c31809 100644 Binary files a/webkit/glue/resources/pdf_button_zoomout.png and b/webkit/glue/resources/pdf_button_zoomout.png differ diff --git a/webkit/glue/resources/pdf_button_zoomout_hover.png b/webkit/glue/resources/pdf_button_zoomout_hover.png index aa555cc..12009a5 100644 Binary files a/webkit/glue/resources/pdf_button_zoomout_hover.png and b/webkit/glue/resources/pdf_button_zoomout_hover.png differ diff --git a/webkit/glue/resources/pdf_button_zoomout_pressed.png b/webkit/glue/resources/pdf_button_zoomout_pressed.png index e16d8d6..fa922d74 100644 Binary files a/webkit/glue/resources/pdf_button_zoomout_pressed.png and b/webkit/glue/resources/pdf_button_zoomout_pressed.png differ diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd index 20b684c..8d4f152 100644 --- a/webkit/glue/webkit_resources.grd +++ b/webkit/glue/webkit_resources.grd @@ -53,9 +53,9 @@ - - - + + + @@ -65,6 +65,12 @@ + + + + + + -- cgit v1.1