summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/chromium_bridge_impl.cc8
-rw-r--r--webkit/glue/resources/linux-checkbox-off.pngbin0 -> 3024 bytes
-rw-r--r--webkit/glue/resources/linux-checkbox-on.pngbin0 -> 3165 bytes
-rw-r--r--webkit/glue/resources/linux-radio-off.pngbin0 -> 3133 bytes
-rw-r--r--webkit/glue/resources/linux-radio-on.pngbin0 -> 3148 bytes
-rw-r--r--webkit/glue/webkit_resources.grd8
6 files changed, 15 insertions, 1 deletions
diff --git a/webkit/glue/chromium_bridge_impl.cc b/webkit/glue/chromium_bridge_impl.cc
index 4fb80c4..8c701a4 100644
--- a/webkit/glue/chromium_bridge_impl.cc
+++ b/webkit/glue/chromium_bridge_impl.cc
@@ -222,6 +222,14 @@ PassRefPtr<Image> ChromiumBridge::loadPlatformImageResource(const char* name) {
resource_id = IDR_TICKMARK_DASH;
} else if (!strcmp(name, "panIcon")) {
resource_id = IDR_PAN_SCROLL_ICON;
+ } else if (!strcmp(name, "linuxCheckboxOff")) {
+ resource_id = IDR_LINUX_CHECKBOX_OFF;
+ } else if (!strcmp(name, "linuxCheckboxOn")) {
+ resource_id = IDR_LINUX_CHECKBOX_ON;
+ } else if (!strcmp(name, "linuxRadioOff")) {
+ resource_id = IDR_LINUX_RADIO_OFF;
+ } else if (!strcmp(name, "linuxRadioOn")) {
+ resource_id = IDR_LINUX_RADIO_ON;
} else if (!strcmp(name, "deleteButton")) {
if (webkit_glue::IsLayoutTestMode()) {
RefPtr<Image> image = BitmapImage::create();
diff --git a/webkit/glue/resources/linux-checkbox-off.png b/webkit/glue/resources/linux-checkbox-off.png
new file mode 100644
index 0000000..15cc949
--- /dev/null
+++ b/webkit/glue/resources/linux-checkbox-off.png
Binary files differ
diff --git a/webkit/glue/resources/linux-checkbox-on.png b/webkit/glue/resources/linux-checkbox-on.png
new file mode 100644
index 0000000..4c72e8a
--- /dev/null
+++ b/webkit/glue/resources/linux-checkbox-on.png
Binary files differ
diff --git a/webkit/glue/resources/linux-radio-off.png b/webkit/glue/resources/linux-radio-off.png
new file mode 100644
index 0000000..6a60a70
--- /dev/null
+++ b/webkit/glue/resources/linux-radio-off.png
Binary files differ
diff --git a/webkit/glue/resources/linux-radio-on.png b/webkit/glue/resources/linux-radio-on.png
new file mode 100644
index 0000000..cb47411
--- /dev/null
+++ b/webkit/glue/resources/linux-radio-on.png
Binary files differ
diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd
index 2970b70..b3acd7f 100644
--- a/webkit/glue/webkit_resources.grd
+++ b/webkit/glue/webkit_resources.grd
@@ -14,6 +14,12 @@
<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_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" />
+ <include name="IDR_LINUX_CHECKBOX_ON" file="resources\linux-checkbox-on.png" type="BINDATA" />
+ <include name="IDR_LINUX_RADIO_OFF" file="resources\linux-radio-off.png" type="BINDATA" />
+ <include name="IDR_LINUX_RADIO_ON" file="resources\linux-radio-on.png" type="BINDATA" />
+ </if>
<include name="IDC_ALIAS" file="resources\aliasb.cur" type="CURSOR" />
<include name="IDC_CELL" file="resources\cell.cur" type="CURSOR" />
@@ -34,4 +40,4 @@
<include name="IDC_PAN_NORTH_WEST" file="resources\pan_north_west.cur" type="CURSOR" />
</includes>
</release>
-</grit> \ No newline at end of file
+</grit>