Home | History | Annotate | Download | only in renderer

Lines Matching refs:element

63 // Get all savable resource links from current element. One element might
67 const WebElement& element,
73 if (element.hasHTMLTagName("iframe") ||
74 element.hasHTMLTagName("frame")) {
75 WebFrame* sub_frame = WebLocalFrame::fromFrameOwnerElement(element);
82 WebString value = GetSubResourceLinkFromElement(element);
136 for (WebElement element = all.firstItem(); !element.isNull();
137 element = all.nextItem()) {
138 GetSavableResourceLinkForElement(element,
147 WebString GetSubResourceLinkFromElement(const WebElement& element) {
149 if (element.hasHTMLTagName("img") ||
150 element.hasHTMLTagName("script")) {
152 } else if (element.hasHTMLTagName("input")) {
153 const WebInputElement input = element.toConst<WebInputElement>();
157 } else if (element.hasHTMLTagName("body") ||
158 element.hasHTMLTagName("table") ||
159 element.hasHTMLTagName("tr") ||
160 element.hasHTMLTagName("td")) {
162 } else if (element.hasHTMLTagName("blockquote") ||
163 element.hasHTMLTagName("q") ||
164 element.hasHTMLTagName("del") ||
165 element.hasHTMLTagName("ins")) {
167 } else if (element.hasHTMLTagName("link")) {
168 // If the link element is not linked to css, ignore it.
169 if (LowerCaseEqualsASCII(element.getAttribute("type"), "text/css")) {
178 WebString value = element.getAttribute(WebString::fromUTF8(attribute_name));