summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 05:35:12 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 05:35:12 +0000
commit587b40b6124aea9759b6b90ffb01e72fc2610935 (patch)
tree24de276f8e78308d8ba14e2a26db6cf7ad10eb95 /webkit/glue/webkitclient_impl.cc
parent4f4ada85e23ba03759aaf617c994bf2efc7e91c4 (diff)
downloadchromium_src-587b40b6124aea9759b6b90ffb01e72fc2610935.zip
chromium_src-587b40b6124aea9759b6b90ffb01e72fc2610935.tar.gz
chromium_src-587b40b6124aea9759b6b90ffb01e72fc2610935.tar.bz2
AutoFill: Determine credit card type based on the CC number and display the
appropriate CC icon. BUG=50080 TEST=none Review URL: http://codereview.chromium.org/3010041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r--webkit/glue/webkitclient_impl.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index a904b76..cfc197b 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -235,7 +235,6 @@ WebData WebKitClientImpl::loadResource(const char* name) {
const char* name;
int id;
} resources[] = {
- { "genericCC", IDR_AUTOFILL_CC_GENERIC },
{ "missingImage", IDR_BROKENIMAGE },
{ "mediaPause", IDR_MEDIA_PAUSE_BUTTON },
{ "mediaPlay", IDR_MEDIA_PLAY_BUTTON },
@@ -255,6 +254,14 @@ WebData WebKitClientImpl::loadResource(const char* name) {
{ "inputSpeech", IDR_INPUT_SPEECH },
{ "inputSpeechRecording", IDR_INPUT_SPEECH_RECORDING },
{ "inputSpeechWaiting", IDR_INPUT_SPEECH_WAITING },
+ { "americanExpressCC", IDR_AUTOFILL_CC_AMEX },
+ { "dinersCC", IDR_AUTOFILL_CC_DINERS },
+ { "discoverCC", IDR_AUTOFILL_CC_DISCOVER },
+ { "genericCC", IDR_AUTOFILL_CC_GENERIC },
+ { "jcbCC", IDR_AUTOFILL_CC_JCB },
+ { "masterCardCC", IDR_AUTOFILL_CC_MASTERCARD },
+ { "soloCC", IDR_AUTOFILL_CC_SOLO },
+ { "visaCC", IDR_AUTOFILL_CC_VISA },
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// TODO(port): rename these to "skia" instead of "Linux".
{ "linuxCheckboxDisabledIndeterminate",