Home | History | Annotate | Download | only in glue

Lines Matching refs:element

63 // Get all savable resource links from current element. One element might
67 const WebElement& element,
73 if (element.hasTagName("iframe") ||
74 element.hasTagName("frame")) {
75 WebFrame* sub_frame = WebFrame::fromFrameOwnerElement(element);
83 webkit_glue::GetSubResourceLinkFromElement(element);
141 WebElement element = node.to<WebElement>();
142 GetSavableResourceLinkForElement(element,
153 WebString GetSubResourceLinkFromElement(const WebElement& element) {
155 if (element.hasTagName("img") ||
156 element.hasTagName("script")) {
158 } else if (element.hasTagName("input")) {
159 const WebInputElement input = element.toConst<WebInputElement>();
163 } else if (element.hasTagName("body") ||
164 element.hasTagName("table") ||
165 element.hasTagName("tr") ||
166 element.hasTagName("td")) {
168 } else if (element.hasTagName("blockquote") ||
169 element.hasTagName("q") ||
170 element.hasTagName("del") ||
171 element.hasTagName("ins")) {
173 } else if (element.hasTagName("link")) {
174 // If the link element is not linked to css, ignore it.
175 if (LowerCaseEqualsASCII(element.getAttribute("type"), "text/css")) {
184 WebString value = element.getAttribute(WebString::fromUTF8(attribute_name));
253 WebElement element =
255 if (element.isNull())
257 return controller->pauseAnimationAtTime(element,
274 WebElement element =
276 if (element.isNull())
278 return controller->pauseTransitionAtTime(element,
289 WebElement element = web_frame->document().getElementById(
291 if (element.isNull() || !element.hasTagName("input"))
294 WebInputElement input_element = element.to<WebInputElement>();
326 WebElement element = node.to<WebElement>();
327 if (!element.hasTagName("meta"))
329 WebString value = element.getAttribute(attribute_name);
332 meta_elements->push_back(element);