Lines Matching refs:charset_info
232 // means it is META element, otherwise return false. The parameter charset_info
234 bool IsMetaElement(const WebNode& node, std::string& charset_info) {
240 charset_info.erase(0, charset_info.length());
247 // Add a dummy charset declaration to charset_info, which indicates this
250 charset_info.append("has-charset-declaration");
276 charset_info = content.substr(start_pos, end_pos - start_pos);
420 std::string charset_info;
421 if (IsMetaElement(child, charset_info))
422 ASSERT_TRUE(charset_info.empty());
452 std::string charset_info;
453 if (IsMetaElement(child, charset_info))
454 ASSERT_TRUE(charset_info.empty());
485 std::string charset_info;
486 if (IsMetaElement(child, charset_info) && !charset_info.empty())
520 std::string charset_info;
521 if (IsMetaElement(child, charset_info))
522 ASSERT_TRUE(charset_info.empty());
824 std::string charset_info;
825 ASSERT_TRUE(IsMetaElement(meta_node, charset_info));
826 ASSERT_TRUE(!charset_info.empty());
827 ASSERT_TRUE(charset_info == std::string(web_frame->encoding().utf8()));