Home | History | Annotate | Download | only in extensions

Lines Matching refs:map

9 #include <map>
154 void SetValue(std::map<int, T>* map, int tab_id, const T& val) {
155 (*map)[tab_id] = val;
159 T GetValue(std::map<int, T>* map, int tab_id) {
160 typename std::map<int, T>::iterator iter = map->find(tab_id);
161 if (iter != map->end()) {
164 iter = map->find(kDefaultTabId);
165 return iter != map->end() ? iter->second : ValueTraits<T>::CreateEmpty();
175 std::map<int, GURL> popup_url_;
176 std::map<int, std::string> title_;
177 std::map<int, SkBitmap> icon_;
178 std::map<int, int> icon_index_; // index into icon_paths_
179 std::map<int, std::string> badge_text_;
180 std::map<int, SkColor> badge_background_color_;
181 std::map<int, SkColor> badge_text_color_;
182 std::map<int, bool> visible_;