Commit d3de0f37 authored by agl@chromium.org's avatar agl@chromium.org

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
parent 5083112c
......@@ -29,8 +29,12 @@
<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_CHECKBOX_DISABLED_OFF" file="resources\linux-checkbox-disabled-off.png" type="BINDATA" />
<include name="IDR_LINUX_CHECKBOX_DISABLED_ON" file="resources\linux-checkbox-disabled-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" />
<include name="IDR_LINUX_RADIO_DISABLED_OFF" file="resources\linux-radio-disabled-off.png" type="BINDATA" />
<include name="IDR_LINUX_RADIO_DISABLED_ON" file="resources\linux-radio-disabled-on.png" type="BINDATA" />
</if>
<include name="IDC_ALIAS" file="resources\aliasb.cur" type="CURSOR" />
......
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment