summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorgene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 22:50:06 +0000
committergene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 22:50:06 +0000
commit216c369184095d1d3b932b264a622c796b4ba241 (patch)
treea2cbcb79db0f4c39e33161e22804da194c71d65d /webkit/glue
parent3f6c743c119a8e7e81f13dafda3cd158fbb5cb69 (diff)
downloadchromium_src-216c369184095d1d3b932b264a622c796b4ba241.zip
chromium_src-216c369184095d1d3b932b264a622c796b4ba241.tar.gz
chromium_src-216c369184095d1d3b932b264a622c796b4ba241.tar.bz2
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
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/resources/pdf_button_fth.pngbin1402 -> 0 bytes
-rw-r--r--webkit/glue/resources/pdf_button_fth_hover.pngbin1438 -> 0 bytes
-rw-r--r--webkit/glue/resources/pdf_button_fth_pressed.pngbin1203 -> 0 bytes
-rw-r--r--webkit/glue/resources/pdf_button_ftp.pngbin0 -> 1445 bytes
-rw-r--r--webkit/glue/resources/pdf_button_ftp_hover.pngbin0 -> 1492 bytes
-rw-r--r--webkit/glue/resources/pdf_button_ftp_pressed.pngbin0 -> 1195 bytes
-rw-r--r--webkit/glue/resources/pdf_button_ftw.pngbin1082 -> 1275 bytes
-rw-r--r--webkit/glue/resources/pdf_button_ftw_hover.pngbin1174 -> 1254 bytes
-rw-r--r--webkit/glue/resources/pdf_button_ftw_pressed.pngbin914 -> 932 bytes
-rw-r--r--webkit/glue/resources/pdf_button_print.pngbin0 -> 1134 bytes
-rw-r--r--webkit/glue/resources/pdf_button_print_hover.pngbin0 -> 1113 bytes
-rw-r--r--webkit/glue/resources/pdf_button_print_pressed.pngbin0 -> 898 bytes
-rw-r--r--webkit/glue/resources/pdf_button_save.pngbin0 -> 923 bytes
-rw-r--r--webkit/glue/resources/pdf_button_save_hover.pngbin0 -> 913 bytes
-rw-r--r--webkit/glue/resources/pdf_button_save_pressed.pngbin0 -> 655 bytes
-rw-r--r--webkit/glue/resources/pdf_button_zoomin.pngbin1655 -> 1604 bytes
-rw-r--r--webkit/glue/resources/pdf_button_zoomin_hover.pngbin1682 -> 1570 bytes
-rw-r--r--webkit/glue/resources/pdf_button_zoomin_pressed.pngbin1403 -> 1291 bytes
-rw-r--r--webkit/glue/resources/pdf_button_zoomout.pngbin1464 -> 1538 bytes
-rw-r--r--webkit/glue/resources/pdf_button_zoomout_hover.pngbin1491 -> 1489 bytes
-rw-r--r--webkit/glue/resources/pdf_button_zoomout_pressed.pngbin1232 -> 1206 bytes
-rw-r--r--webkit/glue/webkit_resources.grd12
22 files changed, 9 insertions, 3 deletions
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
--- a/webkit/glue/resources/pdf_button_fth.png
+++ /dev/null
Binary files 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
--- a/webkit/glue/resources/pdf_button_fth_hover.png
+++ /dev/null
Binary files 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
--- a/webkit/glue/resources/pdf_button_fth_pressed.png
+++ /dev/null
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_ftp.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_ftp_hover.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_ftp_pressed.png
Binary files differ
diff --git a/webkit/glue/resources/pdf_button_ftw.png b/webkit/glue/resources/pdf_button_ftw.png
index d4dacc5..6204843 100644
--- a/webkit/glue/resources/pdf_button_ftw.png
+++ b/webkit/glue/resources/pdf_button_ftw.png
Binary files 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
--- a/webkit/glue/resources/pdf_button_ftw_hover.png
+++ b/webkit/glue/resources/pdf_button_ftw_hover.png
Binary files 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
--- a/webkit/glue/resources/pdf_button_ftw_pressed.png
+++ b/webkit/glue/resources/pdf_button_ftw_pressed.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_print.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_print_hover.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_print_pressed.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_save.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_save_hover.png
Binary files 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
--- /dev/null
+++ b/webkit/glue/resources/pdf_button_save_pressed.png
Binary files differ
diff --git a/webkit/glue/resources/pdf_button_zoomin.png b/webkit/glue/resources/pdf_button_zoomin.png
index 3d399c6..f53382f 100644
--- a/webkit/glue/resources/pdf_button_zoomin.png
+++ b/webkit/glue/resources/pdf_button_zoomin.png
Binary files 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
--- a/webkit/glue/resources/pdf_button_zoomin_hover.png
+++ b/webkit/glue/resources/pdf_button_zoomin_hover.png
Binary files 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
--- a/webkit/glue/resources/pdf_button_zoomin_pressed.png
+++ b/webkit/glue/resources/pdf_button_zoomin_pressed.png
Binary files differ
diff --git a/webkit/glue/resources/pdf_button_zoomout.png b/webkit/glue/resources/pdf_button_zoomout.png
index c1b7c7c9..1c31809 100644
--- a/webkit/glue/resources/pdf_button_zoomout.png
+++ b/webkit/glue/resources/pdf_button_zoomout.png
Binary files 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
--- a/webkit/glue/resources/pdf_button_zoomout_hover.png
+++ b/webkit/glue/resources/pdf_button_zoomout_hover.png
Binary files 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
--- a/webkit/glue/resources/pdf_button_zoomout_pressed.png
+++ b/webkit/glue/resources/pdf_button_zoomout_pressed.png
Binary files 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 @@
<include name="IDR_AUTOFILL_CC_MASTERCARD" file="resources\mastercard.png" type="BINDATA" />
<include name="IDR_AUTOFILL_CC_SOLO" file="resources\solo.png" type="BINDATA" />
<include name="IDR_AUTOFILL_CC_VISA" file="resources\visa.png" type="BINDATA" />
- <include name="IDR_PDF_BUTTON_FTH" file="resources\pdf_button_fth.png" type="BINDATA" />
- <include name="IDR_PDF_BUTTON_FTH_HOVER" file="resources\pdf_button_fth_hover.png" type="BINDATA" />
- <include name="IDR_PDF_BUTTON_FTH_PRESSED" file="resources\pdf_button_fth_pressed.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_FTP" file="resources\pdf_button_ftp.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_FTP_HOVER" file="resources\pdf_button_ftp_hover.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_FTP_PRESSED" file="resources\pdf_button_ftp_pressed.png" type="BINDATA" />
<include name="IDR_PDF_BUTTON_FTW" file="resources\pdf_button_ftw.png" type="BINDATA" />
<include name="IDR_PDF_BUTTON_FTW_HOVER" file="resources\pdf_button_ftw_hover.png" type="BINDATA" />
<include name="IDR_PDF_BUTTON_FTW_PRESSED" file="resources\pdf_button_ftw_pressed.png" type="BINDATA" />
@@ -65,6 +65,12 @@
<include name="IDR_PDF_BUTTON_ZOOMOUT" file="resources\pdf_button_zoomout.png" type="BINDATA" />
<include name="IDR_PDF_BUTTON_ZOOMOUT_HOVER" file="resources\pdf_button_zoomout_hover.png" type="BINDATA" />
<include name="IDR_PDF_BUTTON_ZOOMOUT_PRESSED" file="resources\pdf_button_zoomout_pressed.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_SAVE" file="resources\pdf_button_save.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_SAVE_HOVER" file="resources\pdf_button_save_hover.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_SAVE_PRESSED" file="resources\pdf_button_save_pressed.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_PRINT" file="resources\pdf_button_print.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_PRINT_HOVER" file="resources\pdf_button_print_hover.png" type="BINDATA" />
+ <include name="IDR_PDF_BUTTON_PRINT_PRESSED" file="resources\pdf_button_print_pressed.png" type="BINDATA" />
<include name="IDR_PDF_THUMBNAIL_0" file="resources\pdf_thumbnail_0.png" type="BINDATA" />
<include name="IDR_PDF_THUMBNAIL_1" file="resources\pdf_thumbnail_1.png" type="BINDATA" />
<include name="IDR_PDF_THUMBNAIL_2" file="resources\pdf_thumbnail_2.png" type="BINDATA" />