Lines Matching refs:new_index
213 int new_index = 0;
219 new_index = new_size - 1;
227 new_index = new_size;
230 MoveExtensionIcon(extension, new_index);
257 size_t new_index = 0;
263 return new_index; // We've found the right position.
269 ++new_index;
300 size_t new_index = toolbar_items_.size();
307 new_index = FindNewPositionFromLastKnownGood(extension);
308 if (new_index != toolbar_items_.size()) {
309 toolbar_items_.insert(toolbar_items_.begin() + new_index,
316 // sure to reflect that. (|new_index| was set above.)
322 MaybeUpdateVisibilityPref(extension, new_index);
329 Observer, observers_, ToolbarExtensionAdded(extension, new_index));