Lines Matching refs:drag_data_
57 : drag_data_(drag_data),
66 std::vector<WebContents*> data_sources(drag_data_->GetDraggedTabsContents());
72 for (size_t i = 0; i < drag_data_->size(); i++) {
73 WebContents* web_contents = drag_data_->get(i)->contents_;
79 static_cast<int>(i) == drag_data_->source_tab_index());
138 drag_data_->GetSourceTabData()->mini_ ? mini_width : normal_width;
168 DCHECK(from <= static_cast<int>(drag_data_->size()));
169 DCHECK(to <= static_cast<int>(drag_data_->size()));
173 drag_data_->GetNumberOfMiniNonMiniTabs(from, to,
181 return GetWidthInTabStripFromTo(0, drag_data_->size());
186 return GetWidthInTabStripFromTo(0, drag_data_->source_tab_index());
189 drag_data_->source_tab_index() + 1, drag_data_->size());
195 if (!base::i18n::IsRTL() && drag_data_->source_tab_index() > 0) {
198 drag_data_->source_tab_index() <
199 static_cast<int>(drag_data_->size()) - 1) {
264 renderers_[drag_data_->source_tab_index()]->SetBounds(
303 return drag_data_->get(index)->mini_? mini_width_ : normal_width_;
366 kScalingFactor * renderers_[drag_data_->source_tab_index()]->height() -
392 kScalingFactor * renderers_[drag_data_->source_tab_index()]->height());
400 drag_data_->GetSourceWebContents()->GetRenderViewHost();
439 if (i == drag_data_->source_tab_index())
444 PaintTab(drag_data_->source_tab_index(), widget, cr,
455 renderers_[index]->set_mini(drag_data_->get(index)->mini_);