Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/views/location_bar/
Dpage_action_image_view.cc36 std::vector<std::string> icon_paths(*page_action->icon_paths()); in PageActionImageView() local
38 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()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dpage_action_decoration.mm49 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);
/external/chromium/chrome/common/extensions/
Dextension_file_util.cc218 std::vector<std::string> icon_paths(*page_action->icon_paths()); in ValidateExtension() local
220 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()
Dextension_action_unittest.cc63 action.icon_paths()->push_back("foo.png"); in TEST()
64 action.icon_paths()->push_back("bar.png"); in TEST()
Dextension_action.h47 std::vector<std::string>* icon_paths() { return &icon_paths_; } in icon_paths() function
Dextension.cc926 result->icon_paths()->push_back(path); in LoadExtensionActionHelper()
2545 std::vector<std::string>* icon_paths = page_action()->icon_paths(); in GetBrowserImages() local
2546 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() local
2555 for (std::vector<std::string>::iterator iter = icon_paths->begin(); in GetBrowserImages()
2556 iter != icon_paths->end(); ++iter) { in GetBrowserImages()
Dextension_unittest.cc554 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()
/external/chromium/chrome/browser/ui/gtk/
Dlocation_bar_view_gtk.cc1451 std::vector<std::string> icon_paths(*page_action->icon_paths()); in PageActionViewGtk() local
1453 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()
/external/chromium/chrome/browser/extensions/
Dextension_page_actions_module.cc67 static_cast<size_t>(icon_id) >= page_action->icon_paths()->size()) { in SetPageActionEnabled()
169 page_action_->icon_paths()->size()) { in RunImpl()