max_width 562 ash/system/user/tray_user.cc int max_width = std::min( max_width 571 ash/system/user/tray_user.cc while (min_width < max_width) { max_width 573 ash/system/user/tray_user.cc const int width = (min_width + max_width) / 2; max_width 585 ash/system/user/tray_user.cc max_width = width; max_width 1126 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(max_width(), w1->bounds().width()); max_width 1171 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(max_width(), docked_width(manager)); max_width 411 ash/wm/panels/panel_layout_manager.cc const int max_width = max_bounds.width() * kMaxWidthFactor; max_width 413 ash/wm/panels/panel_layout_manager.cc if (bounds.width() > max_width) max_width 414 ash/wm/panels/panel_layout_manager.cc bounds.set_width(max_width); max_width 313 ash/wm/window_resizer.cc int max_width = Shell::GetScreen()->GetDisplayNearestWindow( max_width 317 ash/wm/window_resizer.cc max_width = std::min(max_width, max_size.width()); max_width 318 ash/wm/window_resizer.cc if (width > max_width) { max_width 319 ash/wm/window_resizer.cc width = max_width; max_width 321 ash/wm/window_resizer.cc max_width); max_width 355 chrome/browser/download/download_item_model.cc int max_width) const { max_width 357 chrome/browser/download/download_item_model.cc download_->GetFileNameToReportUser(), font_list, max_width); max_width 363 chrome/browser/download/download_item_model.cc font_list, max_width, gfx::ELIDE_AT_END); max_width 58 chrome/browser/download/download_item_model.h base::string16 GetTooltipText(const gfx::FontList& font_list, int max_width) const; max_width 297 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc GetConstraintWidth(constraints.max_width, insets, &max_size); max_width 127 chrome/browser/extensions/api/app_window/app_window_api.cc if (input_spec->max_width.get()) max_width 128 chrome/browser/extensions/api/app_window/app_window_api.cc create_spec->maximum_size.set_width(*input_spec->max_width); max_width 351 chrome/browser/extensions/api/app_window/app_window_api.cc if (!CheckBoundsConflict(inner_bounds->max_width, max_width 352 chrome/browser/extensions/api/app_window/app_window_api.cc outer_bounds->max_width, max_width 409 chrome/browser/extensions/api/app_window/app_window_api.cc if (options.max_width.get()) max_width 410 chrome/browser/extensions/api/app_window/app_window_api.cc maximum_size.set_width(*options.max_width); max_width 58 chrome/browser/extensions/api/notifications/notifications_api.cc const int max_width = message_center::kNotificationPreferredImageWidth; max_width 65 chrome/browser/extensions/api/notifications/notifications_api.cc if (width < 0 || height < 0 || width > max_width || height > max_height) max_width 499 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc hints.max_width = max_size.width() == kUnboundedSize ? max_width 866 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gint max_width = WidthForIconCount(button_count()); max_width 867 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc new_width = std::min(max_width, new_width); max_width 561 chrome/browser/ui/panels/panel.cc int max_width = manager()->GetMaxPanelWidth(work_area); max_width 568 chrome/browser/ui/panels/panel.cc if (current_max_width > max_width) max_width 569 chrome/browser/ui/panels/panel.cc max_width = std::min(current_max_width, work_area.width()); max_width 575 chrome/browser/ui/panels/panel.cc SetSizeRange(min_size_, gfx::Size(max_width, max_height)); max_width 603 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int max_width = views::TooltipManager::GetMaxWidth( max_width 614 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc result.append(ElideText(localized_title, tt_fonts, max_width, max_width 631 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc base::string16 elided_url(ElideUrl(url, tt_fonts, max_width, languages)); max_width 1062 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc int max_width = dialog_size_.width() - cancel_button->width() * 2 - max_width 1077 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc checkbox_info_label_->SizeToFit(max_width); max_width 133 chrome/browser/ui/views/location_bar/location_bar_layout.cc int max_width = static_cast<int>(*entry_width * (*i)->max_fraction); max_width 136 chrome/browser/ui/views/location_bar/location_bar_layout.cc std::max((*i)->view->GetMinimumSize().width(), max_width)); max_width 275 chrome/browser/ui/views/omnibox/omnibox_result_view.cc int max_width) const { max_width 279 chrome/browser/ui/views/omnibox/omnibox_result_view.cc int right_x = x + max_width; max_width 323 chrome/browser/ui/views/omnibox/omnibox_result_view.cc right_x = x + std::min(remaining_width, start_offset + max_width); max_width 99 chrome/browser/ui/views/omnibox/omnibox_result_view.h int max_width) const; max_width 120 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc void Validate(int active_index, int max_width) { max_width 124 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc EXPECT_LE(ideal_x(j) - ideal_x(j - 1), max_width - 100); max_width 454 chrome/browser/ui/views/toolbar/browser_actions_container.cc int max_width = IconCountToWidth(-1, false); max_width 456 chrome/browser/ui/views/toolbar/browser_actions_container.cc std::min(std::max(0, container_width_ - resize_amount), max_width); max_width 1095 chrome/browser/ui/views/toolbar/wrench_menu.cc int max_width = -1; max_width 1100 chrome/browser/ui/views/toolbar/wrench_menu.cc max_width = recent_tabs_menu_model_delegate_->GetMaxWidthForMenu(menu); max_width 1101 chrome/browser/ui/views/toolbar/wrench_menu.cc if (max_width == -1) max_width 1102 chrome/browser/ui/views/toolbar/wrench_menu.cc max_width = MenuDelegate::GetMaxWidthForMenu(menu); max_width 1103 chrome/browser/ui/views/toolbar/wrench_menu.cc return max_width; max_width 55 chrome/renderer/extensions/set_icon_natives.cc int max_width = (std::numeric_limits<int>::max() / 4) / height; max_width 56 chrome/renderer/extensions/set_icon_natives.cc if (width > max_width) { max_width 218 content/browser/devtools/renderer_overrides_handler.cc double max_width = -1; max_width 227 content/browser/devtools/renderer_overrides_handler.cc &max_width); max_width 235 content/browser/devtools/renderer_overrides_handler.cc if (max_width > 0) max_width 236 content/browser/devtools/renderer_overrides_handler.cc *scale = std::min(*scale, max_width / view_bounds.width()); max_width 512 content/browser/media/webrtc_getusermedia_browsertest.cc int max_width; max_width 540 content/browser/media/webrtc_getusermedia_browsertest.cc user_media().max_width, max_width 204 content/renderer/browser_plugin/browser_plugin.cc int max_width; max_width 206 content/renderer/browser_plugin/browser_plugin.cc &max_width); max_width 207 content/renderer/browser_plugin/browser_plugin.cc return max_width; max_width 230 content/renderer/browser_plugin/browser_plugin.cc int max_width = GetMaxWidthAttribute(); max_width 231 content/renderer/browser_plugin/browser_plugin.cc return max_width ? max_width : width(); max_width 448 content/renderer/browser_plugin/browser_plugin_bindings.cc int max_width = bindings->instance()->GetMaxWidthAttribute(); max_width 449 content/renderer/browser_plugin/browser_plugin_bindings.cc INT32_TO_NPVARIANT(max_width, *result); max_width 266 content/renderer/media/media_stream_video_source.cc int max_width = std::numeric_limits<int>::max(); max_width 268 content/renderer/media/media_stream_video_source.cc GetDesiredMaxWidthAndHeight(constraints, &max_width, &max_height); max_width 272 content/renderer/media/media_stream_video_source.cc std::min(max_width, MediaStreamVideoSource::kDefaultWidth) * max_width 276 content/renderer/media/media_stream_video_source.cc if (max_width < frame_output_size->width()) max_width 277 content/renderer/media/media_stream_video_source.cc frame_output_size->set_width(max_width); max_width 173 content/shell/renderer/test_runner/test_runner.cc int max_width, max_width 757 content/shell/renderer/test_runner/test_runner.cc int max_width, max_width 761 content/shell/renderer/test_runner/test_runner.cc max_width, max_height); max_width 2123 content/shell/renderer/test_runner/test_runner.cc int max_width, max_width 2126 content/shell/renderer/test_runner/test_runner.cc WebSize max_size(max_width, max_height); max_width 276 content/shell/renderer/test_runner/test_runner.h int max_width, max_width 59 content/test/webrtc_content_browsertest_base.cc int max_width, max_width 70 content/test/webrtc_content_browsertest_base.cc max_width, max_width 32 content/test/webrtc_content_browsertest_base.h int max_width, max_width 207 remoting/host/desktop_resizer_linux.cc int min_width = 0, min_height = 0, max_width = 0, max_height = 0; max_width 210 remoting/host/desktop_resizer_linux.cc &max_width, &max_height); max_width 212 remoting/host/desktop_resizer_linux.cc max_width); max_width 1966 ui/compositor/layer_animator_unittest.cc TestLayerAnimationDeletingDelegate(LayerAnimator* animator, int max_width) max_width 1968 ui/compositor/layer_animator_unittest.cc max_width_(max_width) { max_width 319 ui/gfx/render_text_win.cc LineBreaker(int max_width, max_width 326 ui/gfx/render_text_win.cc : max_width_(max_width), max_width 84 ui/message_center/views/message_center_bubble.cc init_params.max_width += kMarginBetweenItems * 2; max_width 276 ui/views/bubble/tray_bubble_view.cc int max_width) max_width 280 ui/views/bubble/tray_bubble_view.cc max_width(max_width), max_width 374 ui/views/bubble/tray_bubble_view.cc width = std::max(std::min(width, params_.max_width), params_.min_width); max_width 430 ui/views/bubble/tray_bubble_view.cc size.set_width(params_.max_width); max_width 96 ui/views/bubble/tray_bubble_view.h int max_width); max_width 100 ui/views/bubble/tray_bubble_view.h int max_width; max_width 352 ui/views/controls/button/text_button.cc void TextButtonBase::CalculateTextSize(gfx::Size* text_size, int max_width) { max_width 354 ui/views/controls/button/text_button.cc int w = multi_line_ ? max_width : 0; max_width 141 ui/views/controls/button/text_button.h void set_max_width(int max_width) { max_width_ = max_width; } max_width 185 ui/views/controls/button/text_button.h void CalculateTextSize(gfx::Size* text_size, int max_width); max_width 187 ui/views/controls/label.cc void Label::SizeToFit(int max_width) { max_width 201 ui/views/controls/label.cc if (max_width > 0) max_width 202 ui/views/controls/label.cc label_width = std::min(label_width, max_width); max_width 164 ui/views/controls/label.h void SizeToFit(int max_width); max_width 1866 ui/views/controls/menu/menu_controller.cc int max_width = state_.monitor_bounds.width(); max_width 1871 ui/views/controls/menu/menu_controller.cc max_width = owner_bounds.x() - state_.monitor_bounds.x() + max_width 1874 ui/views/controls/menu/menu_controller.cc max_width = state_.monitor_bounds.right() - owner_bounds.right() + max_width 1884 ui/views/controls/menu/menu_controller.cc DCHECK_GE(max_width, kBubbleTipSizeLeftRight); max_width 1886 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), max_width)); max_width 1035 ui/views/controls/tree/tree_view.cc int max_width = text_width_ + indent * depth; max_width 1037 ui/views/controls/tree/tree_view.cc return max_width; max_width 1039 ui/views/controls/tree/tree_view.cc max_width = std::max(max_width, max_width 1042 ui/views/controls/tree/tree_view.cc return max_width; max_width 75 ui/views/corewm/tooltip_aura.cc int max_width, max_width 83 ui/views/corewm/tooltip_aura.cc int available_width = std::min(kTooltipMaxWidthPixels, max_width); max_width 226 ui/views/corewm/tooltip_aura.cc int max_width, line_count; max_width 229 ui/views/corewm/tooltip_aura.cc &max_width, &line_count); max_width 232 ui/views/corewm/tooltip_aura.cc int width = max_width + 2 * kTooltipHorizontalPadding; max_width 233 ui/views/corewm/tooltip_aura.cc int height = label_.GetHeightForWidth(max_width) + max_width 34 ui/views/corewm/tooltip_aura.h int max_width, max_width 24 ui/views/corewm/tooltip_aura_unittest.cc const int max_width = 4000; max_width 44 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 57 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 71 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 84 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 97 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 108 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 123 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, max_width 128 ui/views/corewm/tooltip_win.cc int max_width = (monitor_bounds.width() + 1) / 2; max_width 129 ui/views/corewm/tooltip_win.cc SendMessage(tooltip_hwnd_, TTM_SETMAXTIPWIDTH, 0, max_width); max_width 720 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc hints.max_width = maximum.width();