/external/chromium_org/ash/shelf/ |
alternate_app_list_button.cc | 127 gfx::Rect contents_bounds = GetContentsBounds(); local 133 background_bounds.set_x(contents_bounds.width() - 135 background_bounds.set_y(contents_bounds.y() + 136 (contents_bounds.height() - background_image->height()) / 2); 139 background_bounds.set_y(contents_bounds.y() + 140 (contents_bounds.height() - background_image->height()) / 2); 143 background_bounds.set_x(contents_bounds.x() + 144 (contents_bounds.width() - background_image->width()) / 2);
|
app_list_button.cc | 144 gfx::Rect contents_bounds = GetContentsBounds(); local 150 background_bounds.set_x(contents_bounds.width() - 152 background_bounds.set_y(contents_bounds.y() + 153 (contents_bounds.height() - background_image->height()) / 2); 156 background_bounds.set_y(contents_bounds.y() + 157 (contents_bounds.height() - background_image->height()) / 2); 160 background_bounds.set_x(contents_bounds.x() + 161 (contents_bounds.width() - background_image->width()) / 2);
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_unittest.cc | 168 const gfx::Rect contents_bounds = tab.GetContentsBounds(); local 170 EXPECT_LE(contents_bounds.x(), tab.favicon_bounds_.x()); 173 EXPECT_LE(contents_bounds.y(), tab.favicon_bounds_.y()); 174 EXPECT_LE(tab.favicon_bounds_.bottom(), contents_bounds.bottom()); 183 EXPECT_LE(GetMediaIndicatorBounds(tab).right(), contents_bounds.right()); 184 EXPECT_LE(contents_bounds.y(), GetMediaIndicatorBounds(tab).y()); 186 contents_bounds.bottom()); 203 EXPECT_LE(tab.close_button_->bounds().right(), contents_bounds.right()); 204 EXPECT_LE(contents_bounds.y(), tab.close_button_->bounds().y()); 205 EXPECT_LE(tab.close_button_->bounds().bottom(), contents_bounds.bottom()) [all...] |
tab_strip_unittest.cc | 358 gfx::Rect contents_bounds = GetTabCloseHitTestMask(left_tab, false); local 360 //EXPECT_EQ(gfx::Rect(84, 8, 18, 18).ToString(), contents_bounds.ToString()); 363 EXPECT_FALSE(tab_bounds.Contains(contents_bounds)); 394 contents_bounds = GetTabCloseHitTestMask(active_tab, false); 396 //EXPECT_EQ(gfx::Rect(84, 8, 18, 18).ToString(), contents_bounds.ToString()); 399 EXPECT_TRUE(tab_bounds.Contains(contents_bounds)); 425 contents_bounds = GetTabCloseHitTestMask(active_tab, false); 427 //EXPECT_EQ(gfx::Rect(84, 8, 18, 18).ToString(), contents_bounds.ToString()); 432 EXPECT_TRUE(tab_bounds.Contains(contents_bounds)); 484 gfx::Rect contents_bounds = GetTabCloseHitTestMask(left_tab, false) local [all...] |
/external/chromium_org/ui/app_list/views/ |
speech_view.cc | 181 const gfx::Rect contents_bounds = container->GetContentsBounds(); local 186 contents_bounds.right() - kMicButtonMargin - mic_size.width(), 187 contents_bounds.y() + kMicButtonMargin); 190 int speech_width = contents_bounds.width() - kTextMargin * 2; 194 contents_bounds.x() + kTextMargin, 195 contents_bounds.bottom() - kTextMargin - speech_height,
|
app_list_view.cc | 496 const gfx::Rect contents_bounds = GetContentsBounds(); local 497 app_list_main_view_->SetBoundsRect(contents_bounds); 500 gfx::Rect speech_bounds = contents_bounds; 513 gfx::Point(contents_bounds.width() - image_bounds.width(), 514 contents_bounds.height() - image_bounds.height()));
|
/external/chromium_org/ui/views/window/ |
dialog_client_view.cc | 253 const gfx::Rect contents_bounds = GetContentsBounds(); local 254 contents_view()->SetBounds(contents_bounds.x(), contents_bounds.y(), 255 contents_bounds.width(), bounds.bottom() - contents_bounds.y());
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_popup_contents_view.cc | 414 gfx::Rect contents_bounds = GetContentsBounds(); local 415 contents_bounds.set_height( 416 contents_bounds.height() - bottom_shadow_->height() + kBorderInterior); 419 MakeContentsPath(&path, contents_bounds);
|