Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Side by Side Diff: Source/core/html/HTMLImageFallbackHelper.cpp

Issue 1167583003: Move Resource subclasses out of fetch/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLImageLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/html/HTMLImageFallbackHelper.h" 6 #include "core/html/HTMLImageFallbackHelper.h"
7 7
8 #include "core/HTMLNames.h" 8 #include "core/HTMLNames.h"
9 #include "core/InputTypeNames.h" 9 #include "core/InputTypeNames.h"
10 #include "core/dom/ElementRareData.h" 10 #include "core/dom/ElementRareData.h"
11 #include "core/dom/Text.h" 11 #include "core/dom/Text.h"
12 #include "core/dom/shadow/ShadowRoot.h" 12 #include "core/dom/shadow/ShadowRoot.h"
13 #include "core/fetch/ImageResource.h"
14 #include "core/html/FormDataList.h" 13 #include "core/html/FormDataList.h"
15 #include "core/html/HTMLDivElement.h" 14 #include "core/html/HTMLDivElement.h"
16 #include "core/html/HTMLElement.h" 15 #include "core/html/HTMLElement.h"
17 #include "core/html/HTMLImageElement.h" 16 #include "core/html/HTMLImageElement.h"
18 #include "core/html/HTMLImageLoader.h" 17 #include "core/html/HTMLImageLoader.h"
19 #include "core/html/HTMLInputElement.h" 18 #include "core/html/HTMLInputElement.h"
20 #include "core/html/HTMLStyleElement.h" 19 #include "core/html/HTMLStyleElement.h"
21 #include "wtf/PassOwnPtr.h" 20 #include "wtf/PassOwnPtr.h"
22 #include "wtf/text/StringBuilder.h" 21 #include "wtf/text/StringBuilder.h"
23 22
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // This preserves legacy behaviour originally defined when alt-text was mana ged by LayoutImage. 106 // This preserves legacy behaviour originally defined when alt-text was mana ged by LayoutImage.
108 if (noImageSourceSpecified(element)) 107 if (noImageSourceSpecified(element))
109 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone); 108 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
110 else 109 else
111 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueInline); 110 brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueInline);
112 111
113 return newStyle; 112 return newStyle;
114 } 113 }
115 114
116 } // namespace blink 115 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698