Commit 96a8a897 authored by tony@chromium.org's avatar tony@chromium.org

Added resource images for progress bar on Linux.

WebKit side is https://bugs.webkit.org/show_bug.cgi?id=37310

Patch by morrita@google.com originally at
http://codereview.chromium.org/2478002/show

Review URL: http://codereview.chromium.org/2759007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49376 0039d316-1c4b-4281-b951-d872f2087c98
parent 12175182
......@@ -35,6 +35,10 @@
<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" />
<include name="IDR_PROGRESS_BAR" file="resources\linux-progress-bar.png" type="BINDATA" />
<include name="IDR_PROGRESS_VALUE" file="resources\linux-progress-value.png" type="BINDATA" />
<include name="IDR_PROGRESS_BORDER_LEFT" file="resources\linux-progress-border-left.png" type="BINDATA" />
<include name="IDR_PROGRESS_BORDER_RIGHT" file="resources\linux-progress-border-right.png" type="BINDATA" />
</if>
<include name="IDC_ALIAS" file="resources\aliasb.cur" type="CURSOR" />
......
......@@ -262,6 +262,10 @@ WebData WebKitClientImpl::loadResource(const char* name) {
{ "linuxRadioOn", IDR_LINUX_RADIO_ON },
{ "linuxRadioDisabledOff", IDR_LINUX_RADIO_DISABLED_OFF },
{ "linuxRadioDisabledOn", IDR_LINUX_RADIO_DISABLED_ON },
{ "linuxProgressBar", IDR_PROGRESS_BAR },
{ "linuxProgressValue", IDR_PROGRESS_VALUE },
{ "linuxProgressBorderLeft", IDR_PROGRESS_BORDER_LEFT },
{ "linuxProgressBorderRight", IDR_PROGRESS_BORDER_RIGHT },
#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