Lines Matching refs:feature
103 std::string feature = GetFeature();
104 if (!feature.empty())
105 dict->SetString(kHighlightKey, base::UTF8ToUTF16(feature));
146 bool ManifestHighlighter::FindBounds(const std::string& feature,
152 // The feature may be quoted.
155 if (contents_.substr(start_ + 1, quote_end - 1 - start_) == feature) {
156 FindBoundsEnd(feature, quote_end + 1);
159 // If it's not the feature, then we can skip the quoted section.
162 } else if (contents_.substr(start_, feature.size()) == feature) {
163 FindBoundsEnd(feature, start_ + feature.size() + 1);
176 void ManifestHighlighter::FindBoundsEnd(const std::string& feature,
188 // current feature, and don't want to go any deeper.