Add fallback_to_default_layout attribute to <output>

Introduce the fallback_to_default_layout attribute
in the grit <output> tag. When this attribute is set
to "false", <structure> nodes of type
chrome_scaled_image will not fall back to searching
the default context if the resource is not present
in the context specified in the context attribute.
No resource will be loaded into the output file
for such structures.

BUG=chromium:503635
TEST=ChromeScaledImageUnittest.testNoFallbackToDefaultLayout
Review URL: https://codereview.chromium.org/1194063002/

Patch from Terry Anderson <tdanderson@chromium.org>.


git-svn-id: http://grit-i18n.googlecode.com/svn/trunk@190 7262f16d-afe8-6277-6482-052fa10e57b1
9 files changed