Home
last modified time | relevance | path

Searched refs:frame_bounds (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Dusername_view.cc48 gfx::Rect frame_bounds = this->bounds(); in GetClipPath() local
49 frame_bounds.Inset(kSmallShapeFrameWidth, kSmallShapeFrameWidth, in GetClipPath()
51 path.addRect(SkIntToScalar(frame_bounds.x()), in GetClipPath()
52 SkIntToScalar(frame_bounds.y()), in GetClipPath()
53 SkIntToScalar(frame_bounds.x() + frame_bounds.width()), in GetClipPath()
54 SkIntToScalar(frame_bounds.y() + frame_bounds.height())); in GetClipPath()
/external/chromium/chrome/browser/chromeos/input_method/
Dcandidate_window.cc1202 gfx::Rect frame_bounds = parent_frame_->GetClientAreaScreenBounds(); in MoveParentFrame() local
1207 frame_bounds.set_x(x + horizontal_offset); in MoveParentFrame()
1208 frame_bounds.set_y(y + height); in MoveParentFrame()
1211 frame_bounds.set_x(std::max(frame_bounds.x(), screen_bounds.x())); in MoveParentFrame()
1212 frame_bounds.set_y(std::max(frame_bounds.y(), screen_bounds.y())); in MoveParentFrame()
1215 const int right_overflow = frame_bounds.right() - screen_bounds.right(); in MoveParentFrame()
1217 frame_bounds.set_x(frame_bounds.x() - right_overflow); in MoveParentFrame()
1221 const int bottom_overflow = frame_bounds.bottom() - screen_bounds.bottom(); in MoveParentFrame()
1223 frame_bounds.set_y(frame_bounds.y() - height - frame_bounds.height()); in MoveParentFrame()
1227 parent_frame_->SetBounds(frame_bounds); in MoveParentFrame()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_util.cc338 gfx::Rect frame_bounds = gtk_util::GetWidgetScreenBounds(GTK_WIDGET(parent)); in CenterOverWindow() local
339 gfx::Point origin = frame_bounds.origin(); in CenterOverWindow()
342 (frame_bounds.width() - size.width()) / 2, in CenterOverWindow()
343 (frame_bounds.height() - size.height()) / 2); in CenterOverWindow()