Home
last modified time | relevance | path

Searched refs:view_size (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/chromeos/
Dsetting_level_bubble.cc111 const gfx::Size view_size = view_->GetPreferredSize(); in ShowBubble() local
113 const int x = view_size.width() / 2 + in ShowBubble()
114 kBubbleXRatio * (bounds.width() - view_size.width()); in ShowBubble()
115 const int y = bounds.height() - view_size.height() / 2 - kBubbleBottomGap; in ShowBubble()
/external/chromium/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc303 gfx::Size view_size = (*ri)->GetPreferredSize(); in Layout() local
308 int item_width = view_size.width(); in Layout()
310 item_width = static_cast<int>(static_cast<double>(view_size.width()) * in Layout()
319 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()), in Layout()
320 item_width, view_size.height()); in Layout()
/external/chromium/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.cc867 gfx::Size view_size = view->GetPreferredSize(); in LayoutView() local
868 if ((view_size.width() + padding) > available_width) in LayoutView()
869 view_size = view->GetMinimumSize(); in LayoutView()
870 int desired_width = view_size.width() + padding; in LayoutView()
874 leading ? bounds->x() : (bounds->right() - view_size.width()), in LayoutView()
875 view->y(), view_size.width(), view->height()); in LayoutView()
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator_unittest.cc65 params.view_size = params.bitmap_rect.size();