ideal_x 537 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const int ideal_x = (GetMiniWidth() - icon_bounds->width()) / 2; ideal_x 540 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc (ideal_x - icon_bounds->x()))); ideal_x 43 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc mini_tab_to_non_mini_tab_ = x - ideal_x(mini_tab_count - 1); ideal_x 44 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc first_tab_x_ = ideal_x(0); ideal_x 46 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); ideal_x 68 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); ideal_x 77 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int initial_x = ideal_x(active_index()); ideal_x 117 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (ideal_x(0) != first_tab_x_) { ideal_x 120 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int delta = ideal_x(0) - first_tab_x_; ideal_x 124 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc mini_bounds.set_x(ideal_x(i) - delta); ideal_x 128 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int exposed = tab_offset() - (ideal_x(i + 1) - ideal_x(i)); ideal_x 129 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, ideal_x(i) - delta); ideal_x 137 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (ideal_x(tab_count() - 1) == max_x) ideal_x 144 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(i + 1) - ideal_x(i) > tab_offset(); --i) { ideal_x 145 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, ideal_x(i + 1) - tab_offset()); ideal_x 163 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc width_ - size_.width() : ideal_x(index + 1); ideal_x 191 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, ideal_x(i) + delta); ideal_x 209 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ConstrainActiveX(ideal_x(active_index()))); ideal_x 215 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc start_x - ideal_x(mini_tab_count - 1) : 0; ideal_x 216 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc first_tab_x_ = mini_tab_count > 0 ? ideal_x(0) : start_x; ideal_x 224 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc return ideal_x(index) != ideal_x(index - 1) + tab_offset(); ideal_x 225 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc return ideal_x(index + 1) != ideal_x(index) + tab_offset(); ideal_x 237 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (x == ideal_x(index)) ideal_x 269 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc x - ideal_x(mini_tab_count - 1) : 0; ideal_x 270 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc first_tab_x_ = mini_tab_count > 0 ? ideal_x(0) : x; ideal_x 310 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc } while (index >= mini_tab_count_ && ideal_x(mini_tab_count_) != x_ && ideal_x 311 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(tab_count() - 1) != width_ - size_.width()); ideal_x 322 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (ideal_x(index) - ideal_x(active_index()) == ideal_delta) ideal_x 327 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc std::min(ideal_x(index) - ideal_delta, ideal_x 328 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(active_index()))); ideal_x 333 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (ideal_x(index) - ideal_x(active_index()) == ideal_delta) ideal_x 355 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int x = ConstrainActiveX(ideal_x(active_index())); ideal_x 375 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int x = std::max(min_x, ideal_x(i + 1) - (tab_offset())); ideal_x 384 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc std::min(ideal_x(i), ideal_x(i - 1) + tab_offset())); ideal_x 395 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc max_x = std::min(max_x, ideal_x(i + 1) - stacked_padding_); ideal_x 398 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc std::max(ideal_x(i), ideal_x(i + 1) - tab_offset()))); ideal_x 404 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, std::min(ideal_x(i) + delta, GetMaxDragX(i))); ideal_x 409 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, std::max(ideal_x(i) - delta, GetMinDragX(i))); ideal_x 414 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int min_x = ideal_x(i - 1) + stacked_padding_; ideal_x 415 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int max_x = ideal_x(i - 1) + tab_offset(); ideal_x 417 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc i, std::max(min_x, std::min(ideal_x(i), max_x))); ideal_x 423 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int max_x = ideal_x(i + 1) - stacked_padding_; ideal_x 424 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int min_x = ideal_x(i + 1) - tab_offset(); ideal_x 426 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc i, std::max(min_x, std::min(ideal_x(i), max_x))); ideal_x 433 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int delta = (mini_tab_count_ > 1) ? ideal_x(1) - ideal_x(0) : 0; ideal_x 437 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc mini_bounds.set_x(ideal_x(i + 1) - mini_tab_to_non_mini_tab_); ideal_x 439 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc mini_bounds.set_x(ideal_x(i + 1) - delta); ideal_x 446 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int max_x = ideal_x(active_index()) - ideal_x 448 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int to_resize = std::min(delta, max_x - ideal_x(i)); ideal_x 452 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, ideal_x(i) + to_resize); ideal_x 464 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(active_index()) + stacked_padding_for_count(i - active_index()); ideal_x 465 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int to_resize = std::min(ideal_x(i) - min_compressed, delta); ideal_x 468 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(i, ideal_x(i) - to_resize); ideal_x 485 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index) - ideal_x(index - 1) <= stacked_padding_ && ideal_x 486 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index) <= x_ + max_stacked_width()) { ideal_x 489 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (ideal_x(index) - ideal_x(index - 1) <= stacked_padding_ && ideal_x 490 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index) <= x_ + max_stacked_width()) { ideal_x 508 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index) - ideal_x(index - 1) <= stacked_padding_ && ideal_x 509 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index - 1) >= max_stacked_x) { ideal_x 513 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index) - ideal_x(index - 1) <= stacked_padding_ && ideal_x 514 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(index - 1) >= max_stacked_x) { ideal_x 566 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(active_index()) + ideal_x 190 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); } ideal_x 124 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_LE(ideal_x(j) - ideal_x(j - 1), max_width - 100); ideal_x 1101 chrome/browser/ui/views/tabs/tab.cc const int ideal_x = (GetMiniWidth() - bounds->width()) / 2; ideal_x 1104 chrome/browser/ui/views/tabs/tab.cc (ideal_x - bounds->x())));