From d3de0f37669957bc8bf45b9df817be533e95f3ab Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Thu, 9 Jul 2009 01:49:46 +0000 Subject: Linux: add images for disabled checkboxes and radio buttons. (WebKit side still to land, however this side can be safely landed without it.) BUG=16170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20224 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/resources/linux-checkbox-disabled-off.png | Bin 0 -> 2850 bytes webkit/glue/resources/linux-checkbox-disabled-on.png | Bin 0 -> 3015 bytes webkit/glue/resources/linux-radio-disabled-off.png | Bin 0 -> 2910 bytes webkit/glue/resources/linux-radio-disabled-on.png | Bin 0 -> 3015 bytes webkit/glue/webkit_resources.grd | 4 ++++ webkit/glue/webkitclient_impl.cc | 4 ++++ 6 files changed, 8 insertions(+) create mode 100644 webkit/glue/resources/linux-checkbox-disabled-off.png create mode 100644 webkit/glue/resources/linux-checkbox-disabled-on.png create mode 100644 webkit/glue/resources/linux-radio-disabled-off.png create mode 100644 webkit/glue/resources/linux-radio-disabled-on.png (limited to 'webkit') diff --git a/webkit/glue/resources/linux-checkbox-disabled-off.png b/webkit/glue/resources/linux-checkbox-disabled-off.png new file mode 100644 index 0000000..c916674 Binary files /dev/null and b/webkit/glue/resources/linux-checkbox-disabled-off.png differ diff --git a/webkit/glue/resources/linux-checkbox-disabled-on.png b/webkit/glue/resources/linux-checkbox-disabled-on.png new file mode 100644 index 0000000..d9ff1c6 Binary files /dev/null and b/webkit/glue/resources/linux-checkbox-disabled-on.png differ diff --git a/webkit/glue/resources/linux-radio-disabled-off.png b/webkit/glue/resources/linux-radio-disabled-off.png new file mode 100644 index 0000000..97aa6f9 Binary files /dev/null and b/webkit/glue/resources/linux-radio-disabled-off.png differ diff --git a/webkit/glue/resources/linux-radio-disabled-on.png b/webkit/glue/resources/linux-radio-disabled-on.png new file mode 100644 index 0000000..07aed36 Binary files /dev/null and b/webkit/glue/resources/linux-radio-disabled-on.png differ diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd index 18675ca..bbd40b6 100644 --- a/webkit/glue/webkit_resources.grd +++ b/webkit/glue/webkit_resources.grd @@ -29,8 +29,12 @@ + + + + diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc index 91152f4..1a8a86d 100644 --- a/webkit/glue/webkitclient_impl.cc +++ b/webkit/glue/webkitclient_impl.cc @@ -107,8 +107,12 @@ WebData WebKitClientImpl::loadResource(const char* name) { #if defined(OS_LINUX) { "linuxCheckboxOff", IDR_LINUX_CHECKBOX_OFF }, { "linuxCheckboxOn", IDR_LINUX_CHECKBOX_ON }, + { "linuxCheckboxDisabledOff", IDR_LINUX_CHECKBOX_DISABLED_OFF }, + { "linuxCheckboxDisabledOn", IDR_LINUX_CHECKBOX_DISABLED_ON }, { "linuxRadioOff", IDR_LINUX_RADIO_OFF }, { "linuxRadioOn", IDR_LINUX_RADIO_ON }, + { "linuxRadioDisabledOff", IDR_LINUX_RADIO_DISABLED_OFF }, + { "linuxRadioDisabledOn", IDR_LINUX_RADIO_DISABLED_ON }, #endif }; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(resources); ++i) { -- cgit v1.1