diff options
author | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 05:34:24 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 05:34:24 +0000 |
commit | 5383a940556dfb0b853979237c4b66d9b4952a89 (patch) | |
tree | ca330c165e2b62155db3b5e6dfdae6d8d519aa2b /webkit | |
parent | 3c5fb6bed1e6c9ce80276653f4b053583c299d5b (diff) | |
download | chromium_src-5383a940556dfb0b853979237c4b66d9b4952a89.zip chromium_src-5383a940556dfb0b853979237c4b66d9b4952a89.tar.gz chromium_src-5383a940556dfb0b853979237c4b66d9b4952a89.tar.bz2 |
Add images of indeterminate checkboxes for Linux.
These iamge were based on existing linux-checkbox-*.png and modified
by tkent.
BUG=36321
TEST=none
Review URL: http://codereview.chromium.org/2883013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/resources/linux-checkbox-disabled-indeterminate.png | bin | 0 -> 3914 bytes | |||
-rw-r--r-- | webkit/glue/resources/linux-checkbox-indeterminate.png | bin | 0 -> 3098 bytes | |||
-rw-r--r-- | webkit/glue/webkit_resources.grd | 2 | ||||
-rw-r--r-- | webkit/glue/webkitclient_impl.cc | 3 |
4 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/resources/linux-checkbox-disabled-indeterminate.png b/webkit/glue/resources/linux-checkbox-disabled-indeterminate.png Binary files differnew file mode 100644 index 0000000..171d001 --- /dev/null +++ b/webkit/glue/resources/linux-checkbox-disabled-indeterminate.png diff --git a/webkit/glue/resources/linux-checkbox-indeterminate.png b/webkit/glue/resources/linux-checkbox-indeterminate.png Binary files differnew file mode 100644 index 0000000..dcde3c1 --- /dev/null +++ b/webkit/glue/resources/linux-checkbox-indeterminate.png diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd index 195c632..890f5e6 100644 --- a/webkit/glue/webkit_resources.grd +++ b/webkit/glue/webkit_resources.grd @@ -29,8 +29,10 @@ <if expr="os == 'linux2' or os.find('bsd') != -1 or os == 'sunos5'"> <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_INDETERMINATE" file="resources\linux-checkbox-indeterminate.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_CHECKBOX_DISABLED_INDETERMINATE" file="resources\linux-checkbox-disabled-indeterminate.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" /> diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc index 9808339..1132c54 100644 --- a/webkit/glue/webkitclient_impl.cc +++ b/webkit/glue/webkitclient_impl.cc @@ -254,8 +254,11 @@ WebData WebKitClientImpl::loadResource(const char* name) { // TODO(port): rename these to "skia" instead of "Linux". { "linuxCheckboxOff", IDR_LINUX_CHECKBOX_OFF }, { "linuxCheckboxOn", IDR_LINUX_CHECKBOX_ON }, + { "linuxCheckboxIndeterminate", IDR_LINUX_CHECKBOX_INDETERMINATE }, { "linuxCheckboxDisabledOff", IDR_LINUX_CHECKBOX_DISABLED_OFF }, { "linuxCheckboxDisabledOn", IDR_LINUX_CHECKBOX_DISABLED_ON }, + { "linuxCheckboxDisabledIndeterminate", + IDR_LINUX_CHECKBOX_DISABLED_INDETERMINATE }, { "linuxRadioOff", IDR_LINUX_RADIO_OFF }, { "linuxRadioOn", IDR_LINUX_RADIO_ON }, { "linuxRadioDisabledOff", IDR_LINUX_RADIO_DISABLED_OFF }, |