Searched refs:client_bounds (Results 1 - 25 of 41) sorted by last modified time

12

/external/chromium_org/ui/views/bubble/
H A Dbubble_frame_view.cc94 gfx::Rect client_bounds = GetLocalBounds(); local
95 client_bounds.Inset(GetInsets());
96 client_bounds.Inset(bubble_border_->GetInsets());
97 return client_bounds;
101 const gfx::Rect& client_bounds) const {
103 gfx::Rect(), client_bounds.size(), false);
H A Dbubble_frame_view.h42 const gfx::Rect& client_bounds) const OVERRIDE;
/external/chromium_org/ui/views/touchui/
H A Dtouch_selection_controller_impl.cc351 gfx::Rect client_bounds = client_view_->GetBounds(); local
352 if (r1.y() < client_bounds.y())
353 r1.Inset(0, client_bounds.y() - r1.y(), 0, 0);
354 if (r2.y() < client_bounds.y())
355 r2.Inset(0, client_bounds.y() - r2.y(), 0, 0);
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_x11_unittest.cc94 const gfx::Rect& client_bounds) const OVERRIDE {
95 return client_bounds;
/external/chromium_org/ui/views/widget/
H A Dnative_widget_aura_unittest.cc262 gfx::Rect client_bounds = widget->GetClientAreaBoundsInScreen(); local
263 EXPECT_EQ(10, client_bounds.x());
264 EXPECT_EQ(20, client_bounds.y());
265 EXPECT_EQ(300, client_bounds.width());
266 EXPECT_EQ(400, client_bounds.height());
H A Dwidget_unittest.cc3033 const gfx::Rect& client_bounds) const OVERRIDE {
/external/chromium_org/ui/views/win/
H A Dhwnd_util.h30 View* view, const gfx::Rect& client_bounds);
H A Dhwnd_util_aurawin.cc32 const gfx::Rect& client_bounds) {
37 RECT rect = client_bounds.ToRECT();
43 return client_bounds;
31 GetWindowBoundsForClientBounds(View* view, const gfx::Rect& client_bounds) argument
/external/chromium_org/ui/views/window/
H A Dcustom_frame_view.cc126 const gfx::Rect& client_bounds) const {
129 return gfx::Rect(client_bounds.x() - border_thickness,
130 client_bounds.y() - top_height,
131 client_bounds.width() + (2 * border_thickness),
132 client_bounds.height() + top_height + border_thickness);
H A Dcustom_frame_view.h44 const gfx::Rect& client_bounds) const OVERRIDE;
H A Ddialog_client_view_unittest.cc75 const gfx::Rect client_bounds = GetUpdatedClientBounds(); local
79 EXPECT_EQ(contents_->bounds().origin(), client_bounds.origin());
80 EXPECT_EQ(contents_->bounds().right(), client_bounds.right());
H A Dnative_frame_view.cc38 const gfx::Rect& client_bounds) const {
41 static_cast<View*>(const_cast<NativeFrameView*>(this)), client_bounds);
43 // Enforce minimum size (1, 1) in case that |client_bounds| is passed with
45 gfx::Rect window_bounds = client_bounds;
H A Dnative_frame_view.h24 const gfx::Rect& client_bounds) const OVERRIDE;
H A Dnon_client_view.cc92 const gfx::Rect client_bounds) const {
93 return frame_view_->GetWindowBoundsForClientBounds(client_bounds);
148 gfx::Rect client_bounds(gfx::Point(), client_view_->GetPreferredSize());
149 return GetWindowBoundsForClientBounds(client_bounds).size();
H A Dnon_client_view.h70 const gfx::Rect& client_bounds) const = 0;
175 gfx::Rect GetWindowBoundsForClientBounds(const gfx::Rect client_bounds) const;
/external/chromium_org/components/native_app_window/
H A Dnative_app_window_views.cc403 // The pretend client_bounds passed in need to be large enough to ensure that
408 gfx::Rect client_bounds = gfx::Rect(1000, 1000);
410 widget_->non_client_view()->GetWindowBoundsForClientBounds(client_bounds);
411 return window_bounds.InsetsFrom(client_bounds);
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dglass_app_window_frame_view_win.cc57 const gfx::Rect& client_bounds) const {
63 return gfx::Rect(client_bounds.x() - insets.left(),
64 client_bounds.y() - insets.top(),
65 client_bounds.width() + insets.left() + insets.right(),
66 client_bounds.height() + insets.top() + insets.bottom());
122 gfx::Rect client_bounds = GetBoundsForClientView(); local
123 min_size.Enlarge(width() - client_bounds.width(),
124 height() - client_bounds.height());
H A Dglass_app_window_frame_view_win.h30 const gfx::Rect& client_bounds) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_non_client_frame_view_ash.cc231 const gfx::Rect& client_bounds) const {
232 return client_bounds;
H A Dbrowser_non_client_frame_view_ash.h51 const gfx::Rect& client_bounds) const OVERRIDE;
H A Dglass_browser_frame_view.cc202 const gfx::Rect& client_bounds) const {
209 RECT rect = client_bounds.ToRECT();
216 return gfx::Rect(std::max(0, client_bounds.x() - insets.left()),
217 std::max(0, client_bounds.y() - insets.top()),
218 client_bounds.width() + insets.width(),
219 client_bounds.height() + insets.height());
H A Dglass_browser_frame_view.h35 const gfx::Rect& client_bounds) const OVERRIDE;
H A Dopaque_browser_frame_view.cc203 const gfx::Rect& client_bounds) const {
204 return layout_->GetWindowBoundsForClientBounds(client_bounds);
H A Dopaque_browser_frame_view.h53 const gfx::Rect& client_bounds) const OVERRIDE;
H A Dopaque_browser_frame_view_layout.cc181 const gfx::Rect& client_bounds) const {
184 return gfx::Rect(std::max(0, client_bounds.x() - border_thickness),
185 std::max(0, client_bounds.y() - top_height),
186 client_bounds.width() + (2 * border_thickness),
187 client_bounds.height() + top_height + border_thickness);

Completed in 218 milliseconds

12