Searched refs:icon_paths (Results 1 – 9 of 9) sorted by relevance
36 std::vector<std::string> icon_paths(*page_action->icon_paths()); in PageActionImageView() local38 icon_paths.push_back(page_action_->default_icon_path()); in PageActionImageView()40 for (std::vector<std::string>::iterator iter = icon_paths.begin(); in PageActionImageView()41 iter != icon_paths.end(); ++iter) { in PageActionImageView()166 int total_icons = static_cast<int>(page_action_->icon_paths()->size()); in OnImageLoaded()174 if (index < static_cast<int>(page_action_->icon_paths()->size())) in OnImageLoaded()175 page_action_icons_[page_action_->icon_paths()->at(index)] = *image; in OnImageLoaded()219 page_action_->icon_paths()->at(icon_index); in UpdateVisibility()
49 std::vector<std::string> icon_paths(*page_action->icon_paths());51 icon_paths.push_back(page_action_->default_icon_path());53 for (std::vector<std::string>::iterator iter = icon_paths.begin();54 iter != icon_paths.end(); ++iter) {117 int total_icons = static_cast<int>(page_action_->icon_paths()->size());125 if (index < static_cast<int>(page_action_->icon_paths()->size()))126 page_action_icons_[page_action_->icon_paths()->at(index)] = *image;165 page_action_->icon_paths()->at(icon_index);
218 std::vector<std::string> icon_paths(*page_action->icon_paths()); in ValidateExtension() local220 icon_paths.push_back(page_action->default_icon_path()); in ValidateExtension()221 for (std::vector<std::string>::iterator iter = icon_paths.begin(); in ValidateExtension()222 iter != icon_paths.end(); ++iter) { in ValidateExtension()
63 action.icon_paths()->push_back("foo.png"); in TEST()64 action.icon_paths()->push_back("bar.png"); in TEST()
47 std::vector<std::string>* icon_paths() { return &icon_paths_; } in icon_paths() function
926 result->icon_paths()->push_back(path); in LoadExtensionActionHelper()2545 std::vector<std::string>* icon_paths = page_action()->icon_paths(); in GetBrowserImages() local2546 for (std::vector<std::string>::iterator iter = icon_paths->begin(); in GetBrowserImages()2547 iter != icon_paths->end(); ++iter) { in GetBrowserImages()2554 std::vector<std::string>* icon_paths = browser_action()->icon_paths(); in GetBrowserImages() local2555 for (std::vector<std::string>::iterator iter = icon_paths->begin(); in GetBrowserImages()2556 iter != icon_paths->end(); ++iter) { in GetBrowserImages()
554 ASSERT_EQ(2u, action->icon_paths()->size()); in TEST()555 ASSERT_EQ(img1, (*action->icon_paths())[0]); in TEST()556 ASSERT_EQ(img2, (*action->icon_paths())[1]); in TEST()606 ASSERT_EQ(0u, action->icon_paths()->size()); in TEST()
1451 std::vector<std::string> icon_paths(*page_action->icon_paths()); in PageActionViewGtk() local1453 icon_paths.push_back(page_action_->default_icon_path()); in PageActionViewGtk()1455 for (std::vector<std::string>::iterator iter = icon_paths.begin(); in PageActionViewGtk()1456 iter != icon_paths.end(); ++iter) { in PageActionViewGtk()1520 page_action_->icon_paths()->at(icon_index); in UpdateVisibility()1550 int total_icons = static_cast<int>(page_action_->icon_paths()->size()); in OnImageLoaded()1559 if (index < static_cast<int>(page_action_->icon_paths()->size())) in OnImageLoaded()1560 pixbufs_[page_action_->icon_paths()->at(index)] = pixbuf; in OnImageLoaded()
67 static_cast<size_t>(icon_id) >= page_action->icon_paths()->size()) { in SetPageActionEnabled()169 page_action_->icon_paths()->size()) { in RunImpl()