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

/external/chromium/chrome/browser/chromeos/login/
H A Dproxy_settings_dialog.cc38 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
39 SetDialogSize(CalculateSize(screen_bounds.width(),
42 CalculateSize(screen_bounds.height(),
H A Dlogin_html_dialog.cc57 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
58 width_ = static_cast<int>(kDefaultWidthRatio * screen_bounds.width());
59 height_ = static_cast<int>(kDefaultHeightRatio * screen_bounds.height());
H A Dbase_login_display_host.cc194 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(size));
206 display_host = new chromeos::DOMLoginDisplayHost(screen_bounds);
208 display_host = new chromeos::ViewsLoginDisplayHost(screen_bounds);
212 new chromeos::ViewsLoginDisplayHost(screen_bounds);
H A Dwizard_controller.h54 const gfx::Rect& screen_bounds);
90 // if the parameter is empty. |screen_bounds| are used to calculate position
H A Dwizard_controller.cc228 const gfx::Rect& screen_bounds)
231 screen_bounds_(screen_bounds),
227 WizardController(chromeos::LoginDisplayHost* host, const gfx::Rect& screen_bounds) argument
/external/chromium/chrome/browser/ui/views/
H A Dfullscreen_exit_bubble.cc255 gfx::Rect screen_bounds = views::Screen::GetMonitorAreaNearestWindow( local
257 gfx::Point origin(screen_bounds.x() +
258 (screen_bounds.width() - size.width()) / 2,
259 screen_bounds.y());
/external/chromium/chrome/browser/ui/views/location_bar/
H A Dcontent_setting_image_view.cc141 gfx::Rect screen_bounds(GetImageBounds());
142 gfx::Point origin(screen_bounds.origin());
144 screen_bounds.set_origin(origin);
150 bubble_ = Bubble::Show(GetWidget(), screen_bounds, BubbleBorder::TOP_RIGHT,
H A Dpage_action_image_view.cc82 gfx::Rect screen_bounds(GetImageBounds());
83 gfx::Point origin(screen_bounds.origin());
85 screen_bounds.set_origin(origin);
93 screen_bounds,
H A Dlocation_bar_view.cc378 gfx::Rect screen_bounds(star_view_->GetImageBounds());
380 screen_bounds.Inset(1, 1, 1, 2);
381 gfx::Point origin(screen_bounds.origin());
383 screen_bounds.set_origin(origin);
384 browser::ShowBookmarkBubbleView(GetWindow(), screen_bounds, star_view_, local
/external/chromium/chrome/browser/chromeos/input_method/
H A Dcandidate_window.cc1203 gfx::Rect screen_bounds = views::Screen::GetMonitorWorkAreaNearestWindow( local
1211 frame_bounds.set_x(std::max(frame_bounds.x(), screen_bounds.x()));
1212 frame_bounds.set_y(std::max(frame_bounds.y(), screen_bounds.y()));
1215 const int right_overflow = frame_bounds.right() - screen_bounds.right();
1221 const int bottom_overflow = frame_bounds.bottom() - screen_bounds.bottom();
/external/chromium/chrome/browser/chromeos/status/
H A Dnetwork_menu_button.cc450 gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
455 if (!screen_bounds.Contains(button_bounds)) {

Completed in 159 milliseconds