Home
last modified time | relevance | path

Searched refs:screen_bounds (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Dproxy_settings_dialog.cc38 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); in ProxySettingsDialog() local
39 SetDialogSize(CalculateSize(screen_bounds.width(), in ProxySettingsDialog()
42 CalculateSize(screen_bounds.height(), in ProxySettingsDialog()
Dlogin_html_dialog.cc57 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); in LoginHtmlDialog() local
58 width_ = static_cast<int>(kDefaultWidthRatio * screen_bounds.width()); in LoginHtmlDialog()
59 height_ = static_cast<int>(kDefaultHeightRatio * screen_bounds.height()); in LoginHtmlDialog()
Dbase_login_display_host.cc194 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(size)); in ShowLoginWizard() local
206 display_host = new chromeos::DOMLoginDisplayHost(screen_bounds); in ShowLoginWizard()
208 display_host = new chromeos::ViewsLoginDisplayHost(screen_bounds); in ShowLoginWizard()
212 new chromeos::ViewsLoginDisplayHost(screen_bounds); in ShowLoginWizard()
Dwizard_controller.h54 const gfx::Rect& screen_bounds);
Dwizard_controller.cc228 const gfx::Rect& screen_bounds) in WizardController() argument
231 screen_bounds_(screen_bounds), in WizardController()
/external/chromium/chrome/browser/ui/views/location_bar/
Dcontent_setting_image_view.cc141 gfx::Rect screen_bounds(GetImageBounds()); in OnMouseReleased() local
142 gfx::Point origin(screen_bounds.origin()); in OnMouseReleased()
144 screen_bounds.set_origin(origin); in OnMouseReleased()
150 bubble_ = Bubble::Show(GetWidget(), screen_bounds, BubbleBorder::TOP_RIGHT, in OnMouseReleased()
Dpage_action_image_view.cc82 gfx::Rect screen_bounds(GetImageBounds()); in ExecuteAction() local
83 gfx::Point origin(screen_bounds.origin()); in ExecuteAction()
85 screen_bounds.set_origin(origin); in ExecuteAction()
93 screen_bounds, in ExecuteAction()
Dlocation_bar_view.cc378 gfx::Rect screen_bounds(star_view_->GetImageBounds()); in ShowStarBubble() local
380 screen_bounds.Inset(1, 1, 1, 2); in ShowStarBubble()
381 gfx::Point origin(screen_bounds.origin()); in ShowStarBubble()
383 screen_bounds.set_origin(origin); in ShowStarBubble()
384 browser::ShowBookmarkBubbleView(GetWindow(), screen_bounds, star_view_, in ShowStarBubble()
/external/chromium/chrome/browser/ui/views/
Dfullscreen_exit_bubble.cc255 gfx::Rect screen_bounds = views::Screen::GetMonitorAreaNearestWindow( in GetPopupRect() local
257 gfx::Point origin(screen_bounds.x() + in GetPopupRect()
258 (screen_bounds.width() - size.width()) / 2, in GetPopupRect()
259 screen_bounds.y()); in GetPopupRect()
/external/chromium/chrome/browser/chromeos/input_method/
Dcandidate_window.cc1203 gfx::Rect screen_bounds = views::Screen::GetMonitorWorkAreaNearestWindow( in MoveParentFrame() local
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()
1221 const int bottom_overflow = frame_bounds.bottom() - screen_bounds.bottom(); in MoveParentFrame()
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu_button.cc450 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); in ShowOptionalMobileDataPromoNotification() local
455 if (!screen_bounds.Contains(button_bounds)) { in ShowOptionalMobileDataPromoNotification()