HomeSort by relevance Sort by last modified time
    Searched defs:contents_bounds (Results 1 - 8 of 8) sorted by null

  /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 126 gfx::Rect contents_bounds = GetContentsBounds(); local
132 background_bounds.set_x(contents_bounds.width() -
134 background_bounds.set_y(contents_bounds.y() +
135 (contents_bounds.height() - background_image->height()) / 2);
138 background_bounds.set_y(contents_bounds.y() +
139 (contents_bounds.height() - background_image->height()) / 2);
142 background_bounds.set_x(contents_bounds.x() +
143 (contents_bounds.width() - background_image->width()) / 2);
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_unittest.cc 151 const gfx::Rect contents_bounds = tab.GetContentsBounds(); local
153 EXPECT_LE(contents_bounds.x(), tab.favicon_bounds_.x());
156 EXPECT_LE(contents_bounds.y(), tab.favicon_bounds_.y());
157 EXPECT_LE(tab.favicon_bounds_.bottom(), contents_bounds.bottom());
166 EXPECT_LE(tab.media_indicator_bounds_.right(), contents_bounds.right());
167 EXPECT_LE(contents_bounds.y(), tab.media_indicator_bounds_.y());
168 EXPECT_LE(tab.media_indicator_bounds_.bottom(), contents_bounds.bottom());
185 EXPECT_LE(tab.close_button_->bounds().right(), contents_bounds.right());
186 EXPECT_LE(contents_bounds.y(), tab.close_button_->bounds().y());
187 EXPECT_LE(tab.close_button_->bounds().bottom(), contents_bounds.bottom())
    [all...]
tab_strip_unittest.cc 324 gfx::Rect contents_bounds = GetTabCloseHitTestMask(left_tab, false); local
326 //EXPECT_EQ(gfx::Rect(84, 8, 18, 18).ToString(), contents_bounds.ToString());
329 EXPECT_FALSE(tab_bounds.Contains(contents_bounds));
360 contents_bounds = GetTabCloseHitTestMask(active_tab, false);
362 //EXPECT_EQ(gfx::Rect(84, 8, 18, 18).ToString(), contents_bounds.ToString());
365 EXPECT_TRUE(tab_bounds.Contains(contents_bounds));
391 contents_bounds = GetTabCloseHitTestMask(active_tab, false);
393 //EXPECT_EQ(gfx::Rect(84, 8, 18, 18).ToString(), contents_bounds.ToString());
398 EXPECT_TRUE(tab_bounds.Contains(contents_bounds));
450 gfx::Rect contents_bounds = GetTabCloseHitTestMask(left_tab, false) local
    [all...]
  /external/chromium_org/ui/app_list/views/
app_list_view.cc 392 const gfx::Rect contents_bounds = GetContentsBounds(); local
393 app_list_main_view_->SetBoundsRect(contents_bounds);
396 gfx::Rect speech_bounds = contents_bounds;
speech_view.cc 210 const gfx::Rect contents_bounds = container->GetContentsBounds(); local
215 contents_bounds.right() - kMicButtonMargin - mic_size.width(),
216 contents_bounds.y() + kMicButtonMargin);
219 int speech_width = contents_bounds.width() - kTextMargin * 2;
223 contents_bounds.x() + kTextMargin,
224 contents_bounds.bottom() - kTextMargin - speech_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 411 gfx::Rect contents_bounds = GetContentsBounds(); local
412 contents_bounds.set_height(
413 contents_bounds.height() - bottom_shadow_->height() + kBorderInterior);
416 MakeContentsPath(&path, contents_bounds);

Completed in 205 milliseconds