Public Member Functions | |
ImageTagScanner (HtmlParse *html_parse) | |
HtmlElement::Attribute * | ParseImageElement (HtmlElement *element) const |
HtmlElement::Attribute* net_instaweb::ImageTagScanner::ParseImageElement | ( | HtmlElement * | element | ) | const |
Examine HTML element and determine if it is an img with a src. If so extract the src attribute and return it, otherwise return NULL.