summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 23:05:07 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 23:05:07 +0000
commitb574c23e8d6b0d844730d98f50228eea1d305a10 (patch)
tree3ea54e3eef7e19305835991b1ea35ca4003207d8 /webkit/glue
parentefa7f87a68236b3ec83db2f148f9a5419cf81ccc (diff)
downloadchromium_src-b574c23e8d6b0d844730d98f50228eea1d305a10.zip
chromium_src-b574c23e8d6b0d844730d98f50228eea1d305a10.tar.gz
chromium_src-b574c23e8d6b0d844730d98f50228eea1d305a10.tar.bz2
Add images for <input type="search">. These are copies of the ones in the public WebKit tree.
BUG=9210 Review URL: http://codereview.chromium.org/45069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/resources/search_cancel.pngbin0 -> 908 bytes
-rw-r--r--webkit/glue/resources/search_cancel_pressed.pngbin0 -> 895 bytes
-rw-r--r--webkit/glue/resources/search_magnifier.pngbin0 -> 1028 bytes
-rw-r--r--webkit/glue/resources/search_magnifier_results.pngbin0 -> 1224 bytes
-rw-r--r--webkit/glue/webkit_resources.grd4
-rw-r--r--webkit/glue/webkitclient_impl.cc4
6 files changed, 8 insertions, 0 deletions
diff --git a/webkit/glue/resources/search_cancel.png b/webkit/glue/resources/search_cancel.png
new file mode 100644
index 0000000..49f3f47
--- /dev/null
+++ b/webkit/glue/resources/search_cancel.png
Binary files differ
diff --git a/webkit/glue/resources/search_cancel_pressed.png b/webkit/glue/resources/search_cancel_pressed.png
new file mode 100644
index 0000000..b699d817
--- /dev/null
+++ b/webkit/glue/resources/search_cancel_pressed.png
Binary files differ
diff --git a/webkit/glue/resources/search_magnifier.png b/webkit/glue/resources/search_magnifier.png
new file mode 100644
index 0000000..f9b8cae
--- /dev/null
+++ b/webkit/glue/resources/search_magnifier.png
Binary files differ
diff --git a/webkit/glue/resources/search_magnifier_results.png b/webkit/glue/resources/search_magnifier_results.png
new file mode 100644
index 0000000..9aa1b36
--- /dev/null
+++ b/webkit/glue/resources/search_magnifier_results.png
Binary files differ
diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd
index b3acd7f..c3fb20b 100644
--- a/webkit/glue/webkit_resources.grd
+++ b/webkit/glue/webkit_resources.grd
@@ -13,6 +13,10 @@
<include name="IDR_TICKMARK_DASH" file="resources\dash.png" type="BINDATA" />
<include name="IDR_FEED_PREVIEW" file="resources\feed.html" type="BINDATA" />
<include name="IDR_PAN_SCROLL_ICON" file="resources\pan_icon.png" type="BINDATA" />
+ <include name="IDR_SEARCH_CANCEL" file="resources\search_cancel.png" type="BINDATA" />
+ <include name="IDR_SEARCH_CANCEL_PRESSED" file="resources\search_cancel_pressed.png" type="BINDATA" />
+ <include name="IDR_SEARCH_MAGNIFIER" file="resources\search_magnifier.png" type="BINDATA" />
+ <include name="IDR_SEARCH_MAGNIFIER_RESULTS" file="resources\search_magnifier_results.png" type="BINDATA" />
<include name="IDR_TEXTAREA_RESIZER" file="resources\textarea_resize_corner.png" type="BINDATA" />
<if expr="os == 'linux2'">
<include name="IDR_LINUX_CHECKBOX_OFF" file="resources\linux-checkbox-off.png" type="BINDATA" />
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index bd50df5..d14e2ba 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -61,6 +61,10 @@ WebCString WebKitClientImpl::loadResource(const char* name) {
{ "missingImage", IDR_BROKENIMAGE },
{ "tickmarkDash", IDR_TICKMARK_DASH },
{ "panIcon", IDR_PAN_SCROLL_ICON },
+ { "searchCancel", IDR_SEARCH_CANCEL },
+ { "searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED },
+ { "searchMagnifier", IDR_SEARCH_MAGNIFIER },
+ { "searchMagnifierResults", IDR_SEARCH_MAGNIFIER_RESULTS },
#if defined(OS_LINUX)
{ "linuxCheckboxOff", IDR_LINUX_CHECKBOX_OFF },
{ "linuxCheckboxOn", IDR_LINUX_CHECKBOX_ON },