/external/chromium_org/chrome/browser/ui/views/ash/ |
tab_scrubber.cc | 44 gfx::Rect tab_bounds = tab_strip->tab_at(index)->bounds(); local 46 tab_bounds.x() + initial_tab_offset : 47 tab_bounds.right() - initial_tab_offset; 48 return gfx::Point(x, tab_bounds.CenterPoint().y());
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_strip_unittest.cc | 268 gfx::Rect tab_bounds = GetTabHitTestMask(left_tab); local 269 EXPECT_EQ(gfx::Rect(6, 2, 61, 27).ToString(), tab_bounds.ToString()); 278 EXPECT_FALSE(tab_bounds.Contains(contents_bounds)); 307 tab_bounds = GetTabHitTestMask(active_tab); 308 EXPECT_EQ(gfx::Rect(6, 2, 108, 27).ToString(), tab_bounds.ToString()); 314 EXPECT_TRUE(tab_bounds.Contains(contents_bounds)); 338 tab_bounds = GetTabHitTestMask(most_right_tab); 339 EXPECT_EQ(gfx::Rect(84, 2, 30, 27).ToString(), tab_bounds.ToString()); 347 EXPECT_TRUE(tab_bounds.Contains(contents_bounds)); 394 gfx::Rect tab_bounds = GetTabHitTestMask(left_tab) local [all...] |
tab.cc | 423 gfx::Rect tab_bounds = gfx::ToEnclosingRect(tab_bounds_f); variable 427 int top_overflow = tab_bounds.y() - button_bounds.y(); 428 int bottom_overflow = button_bounds.bottom() - tab_bounds.bottom(); 430 button_bounds.set_y(tab_bounds.y()); 440 gfx::Rect intersection(gfx::IntersectRects(tab_bounds, button_bounds)); 445 !tab_bounds.Contains(button_bounds)) [all...] |
tab_strip.cc | 1747 gfx::Rect tab_bounds = tab->bounds(); local 2625 gfx::Rect tab_bounds = tab_closing->bounds(); local [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
base_tab_strip.cc | 414 gfx::Rect tab_bounds = tab->bounds(); local 416 tab_bounds.set_width(0); 418 tab_bounds.set_height(0); 419 bounds_animator_.AnimateViewTo(tab, tab_bounds);
|
tab_strip.cc | 987 gfx::Rect tab_bounds = tab_closing->bounds(); local [all...] |
/external/chromium/chrome/browser/instant/ |
instant_loader.cc | 988 gfx::Rect tab_bounds; local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/website_settings/ |
website_settings_popup_gtk.cc | 656 GtkAllocation tab_bounds; local 657 gtk_widget_get_allocation(selected_tab, &tab_bounds); 669 tab_bounds.x - tab_shadow_width, allocation.y); 675 tab_bounds.x + tab_bounds.width, allocation.y); 687 tab_bounds.x - tab_shadow_width, allocation.height }; 696 { tab_bounds.x + tab_bounds.width + tab_shadow_width,
|