Searched defs:content_height (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/printing/
H A Dpage_size_margins.h20 double content_height; member in struct:printing::PageSizeMargins
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dcontents_container.cc29 int content_height = std::max(0, height() - content_y); local
31 active_web_view_->SetBounds(0, content_y, width(), content_height);
/external/chromium_org/ui/message_center/views/
H A Dgroup_view.cc199 int content_height = std::max(top_height, kIconSize) + bottom_height; local
203 if (content_height > kIconSize)
204 content_height = std::max(content_height,
207 return content_height + GetInsets().height();
H A Dnotification_view.cc505 int content_height = std::max(top_height, kIconSize) + bottom_height; local
509 if (content_height > kIconSize)
510 content_height = std::max(content_height,
513 return content_height + GetInsets().height();
H A Dmessage_center_view.cc110 int content_height = contents()->GetHeightForWidth(content_width); local
111 if (content_height > height()) {
113 content_height = contents()->GetHeightForWidth(content_width);
115 if (contents()->bounds().size() != gfx::Size(content_width, content_height))
116 contents()->SetBounds(0, 0, content_width, content_height);
895 int content_height = target_height_; local
897 content_height = settings_transition_animation_->CurrentValueBetween(
900 return button_bar_->GetHeightForWidth(width) + content_height;
903 int content_height = 0; local
905 content_height
[all...]
H A Dnotifier_settings_view.cc169 int content_height = content->GetHeightForWidth(content_width); local
170 int y = std::max((height() - content_height) / 2, 0);
171 content->SetBounds(0, y, content_width, content_height);
650 int content_height = contents_view->GetHeightForWidth(content_width); local
651 if (title_height + content_height > height()) {
653 content_height = contents_view->GetHeightForWidth(content_width);
655 contents_view->SetBounds(0, 0, content_width, content_height);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_scroll_view_container.cc227 int content_height = height() - insets.height(); local
229 scroll_view_->SetBounds(x, y, width, content_height);
236 content_height -= pref.height();
243 content_height -= pref.height();
245 scroll_view_->SetBounds(x, scroll_view_y, width, content_height);
/external/chromium_org/chrome/renderer/printing/
H A Dprint_web_view_helper_browsertest.cc516 void VerifyDefaultPageLayout(int content_width, int content_height, argument
529 EXPECT_EQ(content_height, param.a.content_height);
H A Dprint_web_view_helper.cc171 double content_height = local
190 content_height *= scale_factor;
199 static_cast<int>(content_width), static_cast<int>(content_height));
209 int content_height = params.content_size.height(); local
212 content_height - params.margin_top;
218 page_layout_in_points->content_height =
219 ConvertUnit(content_height, dpi, kPointsPerInch);
428 page_layout.content_height);
889 page_layout_in_points.content_height +
895 page_layout_in_points.content_height);
[all...]
/external/chromium/chrome/browser/ui/views/tabs/
H A Dtab.cc236 int content_height = std::max(kFaviconSize, font_height()); local
238 content_height = std::max(content_height, close_button_size.height());
244 int favicon_top = kTopPadding + content_height / 2 - kFaviconSize / 2;
270 (content_height - close_button_size.height()) / 2;
282 int title_top = kTopPadding + (content_height - font_height()) / 2;
/external/chromium/chrome/browser/ui/gtk/tabs/
H A Dtab_renderer_gtk.cc476 int content_height = std::max(kFaviconSize, title_font_height_); local
477 return std::max(content_height, close_button_height_);
672 int content_height = GetContentHeight(); local
677 int favicon_top = kTopPadding + (content_height - kFaviconSize) / 2;
702 (content_height - close_button_height_) / 2;
743 title_bounds_.SetRect(title_left, title_top, title_width, content_height);
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper.cc175 double content_height = local
194 content_height *= scale_factor;
203 static_cast<int>(content_width), static_cast<int>(content_height));
213 int content_height = params.content_size.height(); local
216 content_height - params.margin_top;
222 page_layout_in_points->content_height =
223 ConvertUnit(content_height, dpi, kPointsPerInch);
432 page_layout.content_height);
898 page_layout_in_points.content_height +
904 page_layout_in_points.content_height);
[all...]
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Dtab_renderer_gtk.cc578 int content_height = std::max(gfx::kFaviconSize, title_font_height_); local
579 return std::max(content_height, close_button_height_);
745 int content_height = GetContentHeight(); local
750 int favicon_top = kTopPadding + (content_height - gfx::kFaviconSize) / 2;
762 (content_height - close_button_height_) / 2;
793 kTopPadding + (content_height - media_indicator_bounds_.height()) / 2);
827 title_bounds_.SetRect(title_left, title_top, title_width, content_height);
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab.cc796 int content_height = std::max(tab_icon_size(), font_height_); local
799 content_height = std::max(content_height, close_button_size.height());
805 int favicon_top = top_padding() + content_height / 2 - tab_icon_size() / 2;
822 (content_height - close_button_size.height()) / 2;
854 (content_height - media_indicator_bounds_.height()) / 2);
868 (content_height - font_height_) / 2;

Completed in 375 milliseconds