Searched refs:frame_insets (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/extensions/browser/app_window/
H A Dsize_constraints.cc25 const gfx::Insets& frame_insets) {
29 : size_constraints.width() + frame_insets.width(),
32 : size_constraints.height() + frame_insets.height());
23 AddFrameToConstraints( const gfx::Size& size_constraints, const gfx::Insets& frame_insets) argument
H A Dapp_window.cc106 const gfx::Insets& frame_insets) {
110 content_constraints.width() + frame_insets.width());
114 content_constraints.height() + frame_insets.height());
123 const gfx::Insets& frame_insets) {
127 std::max(0, window_constraints.width() - frame_insets.width()));
131 std::max(0, window_constraints.height() - frame_insets.height()));
172 const gfx::Insets& frame_insets) const {
176 combined_bounds.set_x(content_spec.bounds.x() - frame_insets.left());
178 combined_bounds.set_y(content_spec.bounds.y() - frame_insets.top());
181 content_spec.bounds.width() + frame_insets
104 GetCombinedWindowConstraints(const gfx::Size& window_constraints, const gfx::Size& content_constraints, const gfx::Insets& frame_insets) argument
121 GetCombinedContentConstraints(const gfx::Size& window_constraints, const gfx::Size& content_constraints, const gfx::Insets& frame_insets) argument
343 gfx::Insets frame_insets = native_app_window_->GetFrameInsets(); local
751 gfx::Insets frame_insets = native_app_window_->GetFrameInsets(); local
[all...]
H A Dsize_constraints.h28 const gfx::Insets& frame_insets);
H A Dapp_window.h188 gfx::Rect GetInitialWindowBounds(const gfx::Insets& frame_insets) const;
193 gfx::Size GetContentMinimumSize(const gfx::Insets& frame_insets) const;
194 gfx::Size GetContentMaximumSize(const gfx::Insets& frame_insets) const;
195 gfx::Size GetWindowMinimumSize(const gfx::Insets& frame_insets) const;
196 gfx::Size GetWindowMaximumSize(const gfx::Insets& frame_insets) const;
/external/chromium_org/extensions/browser/api/app_current_window_internal/
H A Dapp_current_window_internal_api.cc207 gfx::Insets frame_insets = window->GetBaseWindow()->GetFrameInsets(); local
220 window_bounds.set_width(*bounds_spec.width + frame_insets.width());
222 window_bounds.set_height(*bounds_spec.height + frame_insets.height());
230 window_bounds.Inset(frame_insets);
232 window_bounds.Inset(-frame_insets);
243 window->GetBaseWindow()->GetContentMinimumSize(), frame_insets),
245 window->GetBaseWindow()->GetContentMaximumSize(), frame_insets));
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dchrome_native_app_window_views.cc236 gfx::Insets frame_insets = GetFrameInsets(); local
237 gfx::Rect window_bounds = create_params.GetInitialWindowBounds(frame_insets);
238 SetContentSizeConstraints(create_params.GetContentMinimumSize(frame_insets),
239 create_params.GetContentMaximumSize(frame_insets));

Completed in 116 milliseconds