diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 12:07:19 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 12:07:19 +0000 |
commit | 4fdfcfe94771077808c2d88795ea6c11581bdf0c (patch) | |
tree | 53a9aa2b1561bb8197e9e408bd7e5e05352def51 /components/resources | |
parent | be5cf44aa346b0f8cd5b0907d54c90250128191b (diff) | |
download | chromium_src-4fdfcfe94771077808c2d88795ea6c11581bdf0c.zip chromium_src-4fdfcfe94771077808c2d88795ea6c11581bdf0c.tar.gz chromium_src-4fdfcfe94771077808c2d88795ea6c11581bdf0c.tar.bz2 |
Move Autofill Credit Card resources out of webkit.
This moves the autofill resources from webkit to components where autofill has its code.
This came to address the comment from https://codereview.chromium.org/172473002/#msg14.
With this we eliminated the webkit dependency from components/autofill.
BUG=328150
R=isherman@chromium.org,joi@chromium.org,oshima@chromium.org
TBR=darin
Review URL: https://codereview.chromium.org/165673007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/resources')
-rw-r--r-- | components/resources/autofill_scaled_resources.grdp | 10 | ||||
-rw-r--r-- | components/resources/component_resources.grd | 15 | ||||
-rw-r--r-- | components/resources/component_scaled_resources.grd | 15 | ||||
-rw-r--r-- | components/resources/dom_distiller_resources.grdp | 9 | ||||
-rw-r--r-- | components/resources/translate_resources.grdp | 4 |
5 files changed, 53 insertions, 0 deletions
diff --git a/components/resources/autofill_scaled_resources.grdp b/components/resources/autofill_scaled_resources.grdp new file mode 100644 index 0000000..2bbc3f5 --- /dev/null +++ b/components/resources/autofill_scaled_resources.grdp @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<grit-part> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_AMEX" file="common/autofill/amex.png" /> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_DINERS" file="common/autofill/diners.png" /> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_DISCOVER" file="common/autofill/discover.png" /> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_GENERIC" file="common/autofill/cc-generic.png" /> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_JCB" file="common/autofill/jcb.png" /> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_MASTERCARD" file="common/autofill/mastercard.png" /> + <structure type="chrome_scaled_image" name="IDR_AUTOFILL_CC_VISA" file="common/autofill/visa.png" /> +</grit-part> diff --git a/components/resources/component_resources.grd b/components/resources/component_resources.grd new file mode 100644 index 0000000..23fb025 --- /dev/null +++ b/components/resources/component_resources.grd @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<grit latest_public_release="0" current_release="1"> + <outputs> + <output filename="grit/component_resources.h" type="rc_header"> + <emit emit_type='prepend'></emit> + </output> + <output filename="component_resources.pak" type="data_package" /> + </outputs> + <release seq="1"> + <includes> + <part file="dom_distiller_resources.grdp" /> + <part file="translate_resources.grdp" /> + </includes> + </release> +</grit> diff --git a/components/resources/component_scaled_resources.grd b/components/resources/component_scaled_resources.grd new file mode 100644 index 0000000..edd80b8 --- /dev/null +++ b/components/resources/component_scaled_resources.grd @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<grit latest_public_release="0" current_release="1"> + <outputs> + <output filename="grit/component_scaled_resources.h" type="rc_header" context="default_100_percent"> + <emit emit_type='prepend'></emit> + </output> + <output filename="component_resources_100_percent.pak" type="data_package" context="default_100_percent" /> + <output filename="component_resources_200_percent.pak" type="data_package" context="default_200_percent" /> + </outputs> + <release seq="1"> + <structures fallback_to_low_resolution="true"> + <part file="autofill_scaled_resources.grdp" /> + </structures> + </release> +</grit> diff --git a/components/resources/dom_distiller_resources.grdp b/components/resources/dom_distiller_resources.grdp new file mode 100644 index 0000000..d201db7 --- /dev/null +++ b/components/resources/dom_distiller_resources.grdp @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<grit-part> + <include name="IDR_ABOUT_DOM_DISTILLER_HTML" file="../dom_distiller/webui/resources/about_dom_distiller.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" /> + <include name="IDR_ABOUT_DOM_DISTILLER_CSS" file="../dom_distiller/webui/resources/about_dom_distiller.css" type="BINDATA" /> + <include name="IDR_ABOUT_DOM_DISTILLER_JS" file="../dom_distiller/webui/resources/about_dom_distiller.js" type="BINDATA" /> + <include name="IDR_DOM_DISTILLER_VIEWER_HTML" file="../dom_distiller/content/resources/dom_distiller_viewer.html" type="BINDATA" /> + <include name="IDR_DISTILLER_JS" file="../../third_party/readability/js/readability.js" type="BINDATA" /> + <include name="IDR_DISTILLER_CSS" file="../../third_party/readability/css/readability.css" type="BINDATA" /> +</grit-part> diff --git a/components/resources/translate_resources.grdp b/components/resources/translate_resources.grdp new file mode 100644 index 0000000..5226e14 --- /dev/null +++ b/components/resources/translate_resources.grdp @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<grit-part> + <include name="IDR_TRANSLATE_JS" file="../translate/core/browser/resources/translate.js" type="BINDATA" /> +</grit-part> |