Home
last modified time | relevance | path

Searched refs:css_selectors (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/declarative_content/
Dcontent_rules_registry_unittest.cc78 std::vector<std::string> css_selectors; in TEST_F() local
79 css_selectors.push_back("input"); in TEST_F()
80 registry->Apply(tab.get(), css_selectors); in TEST_F()
88 registry->Apply(tab.get(), css_selectors); in TEST_F()
Dcontent_rules_registry.cc71 renderer_data.css_selectors.insert(matching_css_selectors.begin(), in Apply()
272 std::set<std::string> css_selectors; // We rely on this being sorted. in UpdateConditionCache() local
280 (*condition)->css_selectors(); in UpdateConditionCache()
281 css_selectors.insert(condition_css_selectors.begin(), in UpdateConditionCache()
286 if (css_selectors.size() != watched_css_selectors_.size() || in UpdateConditionCache()
287 !std::equal(css_selectors.begin(), css_selectors.end(), in UpdateConditionCache()
289 watched_css_selectors_.assign(css_selectors.begin(), css_selectors.end()); in UpdateConditionCache()
Dcontent_condition.h31 base::hash_set<std::string> css_selectors; member
58 const std::vector<std::string>& css_selectors);
96 const std::vector<std::string>& css_selectors() const { in css_selectors() function
Dcontent_condition_unittest.cc102 match_data.css_selectors.insert("input"); in TEST()
113 match_data.css_selectors.clear(); in TEST()
114 match_data.css_selectors.insert("body"); in TEST()
Dcontent_condition.cc45 const std::vector<std::string>& css_selectors) in ContentCondition() argument
47 css_selectors_(css_selectors) { in ContentCondition()
62 if (!ContainsKey(renderer_data.css_selectors, *i)) in IsFulfilled()
/external/chromium_org/chrome/renderer/extensions/
Dcontent_watcher.cc46 explicit WatchSelectors(const WebVector<WebString>& css_selectors) in OnWatchPages()
47 : css_selectors_(css_selectors) {} in OnWatchPages()
Dcontent_watcher.h38 void OnWatchPages(const std::vector<std::string>& css_selectors);
/external/chromium_org/chrome/browser/extensions/
Dtab_helper.h203 void OnWatchedPageChange(const std::vector<std::string>& css_selectors);
Dtab_helper.cc422 const std::vector<std::string>& css_selectors) { in OnWatchedPageChange() argument
427 web_contents(), css_selectors); in OnWatchedPageChange()