Searched refs:client_bounds (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/athena/main/
H A Dathena_frame_view.cc41 gfx::Rect client_bounds = bounds(); local
42 client_bounds.Inset(NonClientBorderInsets());
43 return client_bounds;
47 const gfx::Rect& client_bounds) const {
48 gfx::Rect window_bounds = client_bounds;
H A Dathena_frame_view.h29 const gfx::Rect& client_bounds) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/message_center/
H A Dmessage_center_frame_view.cc32 gfx::Rect client_bounds = GetLocalBounds(); local
33 client_bounds.Inset(GetInsets());
34 return client_bounds;
38 const gfx::Rect& client_bounds) const {
39 gfx::Rect window_bounds = client_bounds;
H A Dmessage_center_frame_view.h27 const gfx::Rect& client_bounds) const OVERRIDE;
/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/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 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 Dnon_client_view.h70 const gfx::Rect& client_bounds) const = 0;
175 gfx::Rect GetWindowBoundsForClientBounds(const gfx::Rect client_bounds) const;
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 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());
/external/chromium_org/ash/wm/panels/
H A Dpanel_frame_view.cc122 gfx::Rect client_bounds = bounds(); local
123 client_bounds.Inset(0, NonClientTopBorderHeight(), 0, 0);
124 return client_bounds;
128 const gfx::Rect& client_bounds) const {
129 gfx::Rect window_bounds = client_bounds;
H A Dpanel_frame_view.h46 const gfx::Rect& client_bounds) const OVERRIDE;
/external/chromium_org/athena/activity/
H A Dactivity_frame_view.cc70 gfx::Rect client_bounds = bounds(); local
71 client_bounds.Inset(NonClientBorderInsets());
72 return client_bounds;
76 const gfx::Rect& client_bounds) const {
77 gfx::Rect window_bounds = client_bounds;
H A Dactivity_frame_view.h35 const gfx::Rect& client_bounds) const OVERRIDE;
/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);
/external/chromium_org/apps/ui/views/
H A Dapp_window_frame_view.h73 const gfx::Rect& client_bounds) const OVERRIDE;
/external/chromium_org/ash/frame/
H A Dcustom_frame_view_ash.h47 const gfx::Rect& client_bounds) const OVERRIDE;
H A Dcustom_frame_view_ash.cc465 gfx::Rect client_bounds = bounds(); local
466 client_bounds.Inset(0, NonClientTopBorderHeight(), 0, 0);
467 return client_bounds;
471 const gfx::Rect& client_bounds) const {
472 gfx::Rect window_bounds = client_bounds;
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dglass_browser_frame_view.h35 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());
/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());
/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);

Completed in 2024 milliseconds

12