Searched defs:GetPreferredSize (Results 101 - 125 of 161) sorted by relevance

1234567

/external/chromium_org/ash/system/user/
H A Duser_view.cc140 virtual gfx::Size GetPreferredSize() const OVERRIDE;
167 gfx::Size AddUserView::GetPreferredSize() const { function in class:ash::tray::__anon2030::AddUserView
257 gfx::Size UserView::GetPreferredSize() const { function in class:ash::tray::UserView
258 gfx::Size size = views::View::GetPreferredSize();
268 return GetPreferredSize().height();
276 logout_area.ClampToCenteredSize(logout_button_->GetPreferredSize());
387 max_card_width -= logout_button_->GetPreferredSize().width();
419 bubble_view->SetWidth(GetPreferredSize().width());
/external/chromium_org/chrome/browser/ui/views/
H A Dcontent_setting_bubble_contents.cc160 gfx::Size ContentSettingBubbleContents::GetPreferredSize() const { function in class:ContentSettingBubbleContents
161 gfx::Size preferred_size(views::View::GetPreferredSize());
489 int width = button->GetPreferredSize().width();
492 width = std::max(width, button->GetPreferredSize().width());
H A Dcreate_application_shortcut_view.cc339 gfx::Size CreateApplicationShortcutView::GetPreferredSize() const { function in class:CreateApplicationShortcutView
H A Dfind_bar_view.cc277 int panel_width = GetPreferredSize().width();
285 gfx::Size sz = close_button_->GetPreferredSize();
295 sz = find_next_button_->GetPreferredSize();
304 sz = find_previous_button_->GetPreferredSize();
312 sz = match_count_text_->GetPreferredSize();
319 int find_text_y = (height() - find_text_->GetPreferredSize().height()) / 2;
329 find_text_width, find_text_->GetPreferredSize().height());
341 gfx::Size FindBarView::GetPreferredSize() const { function in class:FindBarView
342 gfx::Size prefsize = find_text_->GetPreferredSize();
349 prefsize.Enlarge(find_previous_button_->GetPreferredSize()
[all...]
H A Dfullscreen_exit_bubble_views.cc51 virtual gfx::Size GetPreferredSize() const OVERRIDE;
84 gfx::Size ButtonView::GetPreferredSize() const { function in class:__anon5216::ButtonView
85 return visible() ? views::View::GetPreferredSize() : gfx::Size();
433 gfx::Size size(view_->GetPreferredSize());
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_shelf_view.cc83 gfx::Size view_preferred = view->GetPreferredSize();
172 gfx::Size DownloadShelfView::GetPreferredSize() const { function in class:DownloadShelfView
196 // GetPreferredSize, where we will do our animation. In the case where the
222 gfx::Size image_size = arrow_image_->GetPreferredSize();
223 gfx::Size close_button_size = close_button_->GetPreferredSize();
224 gfx::Size show_all_size = show_all_view_->GetPreferredSize();
260 gfx::Size view_size = (*ri)->GetPreferredSize();
324 gfx::Size image_size = arrow_image_->GetPreferredSize();
325 gfx::Size close_button_size = close_button_->GetPreferredSize();
326 gfx::Size show_all_size = show_all_view_->GetPreferredSize();
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_view_layout.cc373 gfx::Size BrowserViewLayout::GetPreferredSize(const views::View* host) const { function in class:BrowserViewLayout
402 int height = toolbar_visible ? toolbar_->GetPreferredSize().height() : 0;
440 int bookmark_bar_height = bookmark_bar_->GetPreferredSize().height();
533 int height = visible ? download_shelf_->GetPreferredSize().height() : 0;
544 // Cast to a views::View to access GetPreferredSize().
548 (infobar_container->GetPreferredSize().height() != 0);
/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dinfobar_view.cc45 return label_1->GetPreferredSize().width() >
46 label_2->GetPreferredSize().width();
353 gfx::Size back_label_size(labels->back()->GetPreferredSize());
407 gfx::Size InfoBarView::GetPreferredSize() const { function in class:InfoBarView
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dorigin_chip_view.cc270 gfx::Size OriginChipView::GetPreferredSize() const { function in class:OriginChipView
273 int label_size = host_label_->GetPreferredSize().width();
275 label_size += ev_label_->GetPreferredSize().width() +
279 location_icon_view_->GetPreferredSize().height());
289 location_icon_view_->GetPreferredSize().width(),
298 std::min(ev_label_->GetPreferredSize().width(), label_width);
300 // TODO(pkasting): See comments in GetPreferredSize().
312 return kEdgeThickness + location_icon_view_->GetPreferredSize().width() +
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_action_view.cc73 gfx::Size BrowserActionView::GetPreferredSize() const { function in class:BrowserActionView
/external/chromium_org/chrome/browser/ui/views/translate/
H A Dtranslate_bubble_view.cc212 gfx::Size TranslateBubbleView::GetPreferredSize() const { function in class:TranslateBubbleView
216 width = std::max(width, child->GetPreferredSize().width());
218 int height = GetCurrentView()->GetPreferredSize().height();
/external/chromium_org/ui/app_list/views/
H A Dapp_list_folder_view.cc113 gfx::Size AppListFolderView::GetPreferredSize() const { function in class:app_list::AppListFolderView
114 const gfx::Size header_size = folder_header_view_->GetPreferredSize();
115 const gfx::Size grid_size = items_grid_view_->GetPreferredSize();
171 gfx::Size size = folder_header_view_->GetPreferredSize();
H A Dapp_list_view.cc197 gfx::Size AppListView::GetPreferredSize() const { function in class:app_list::AppListView
198 return app_list_main_view_->GetPreferredSize();
397 int preferred_height = speech_view_->GetPreferredSize().height();
H A Dcontents_view.cc250 gfx::Size ContentsView::GetPreferredSize() const { function in class:app_list::ContentsView
252 apps_container_view_->apps_grid_view()->GetPreferredSize();
254 ? search_results_view_->GetPreferredSize()
H A Dspeech_view.cc213 gfx::Size mic_size = mic_button_->GetPreferredSize();
229 gfx::Size SpeechView::GetPreferredSize() const { function in class:app_list::SpeechView
/external/chromium_org/ui/message_center/views/
H A Dbounded_label.cc325 gfx::Size BoundedLabel::GetPreferredSize() const { function in class:message_center::BoundedLabel
/external/chromium_org/ui/views/bubble/
H A Dbubble_frame_view.cc86 close_->SetSize(close_->GetPreferredSize());
173 title_->GetPreferredSize().height() + kTitleTopInset + kTitleBottomInset;
179 gfx::Size BubbleFrameView::GetPreferredSize() const { function in class:views::BubbleFrameView
180 return GetSizeForClientSize(GetWidget()->client_view()->GetPreferredSize());
197 gfx::Size title_size(title_->GetPreferredSize());
205 gfx::Size size = titlebar_extra_view_->GetPreferredSize();
358 title_bar_width += kTitleLeftInset + title_->GetPreferredSize().width();
362 title_bar_width += titlebar_extra_view_->GetPreferredSize().width();
/external/chromium_org/ui/views/controls/button/
H A Dlabel_button.cc188 gfx::Size LabelButton::GetPreferredSize() const { function in class:views::LabelButton
197 const int current_width = label.GetPreferredSize().width();
199 if (label.GetPreferredSize().width() < current_width)
204 const gfx::Size image_size(image_->GetPreferredSize());
210 gfx::Size size(label.GetPreferredSize());
241 gfx::Size image_size(image_->GetPreferredSize());
257 std::min(label_size.width(), label_->GetPreferredSize().width()));
398 const gfx::Size previous_image_size(image_->GetPreferredSize());
404 if (image_->GetPreferredSize() != previous_image_size)
/external/chromium_org/ui/views/controls/
H A Dslider.cc189 gfx::Size Slider::GetPreferredSize() const { function in class:views::Slider
/external/chromium_org/ui/views/controls/tabbed_pane/
H A Dtabbed_pane.cc50 virtual gfx::Size GetPreferredSize() const OVERRIDE;
79 virtual gfx::Size GetPreferredSize() const OVERRIDE;
97 preferred_title_size_ = title_->GetPreferredSize();
142 gfx::Size Tab::GetPreferredSize() const { function in class:views::Tab
185 gfx::Size TabStrip::GetPreferredSize() const { function in class:views::TabStrip
188 const gfx::Size child_size = child_at(i)->GetPreferredSize();
199 gfx::Size ps = child_at(i)->GetPreferredSize();
311 gfx::Size TabbedPane::GetPreferredSize() const { function in class:views::TabbedPane
314 size.SetToMax(contents_->child_at(i)->GetPreferredSize());
315 size.Enlarge(0, tab_strip_->GetPreferredSize()
[all...]
/external/chromium_org/ui/views/controls/webview/
H A Dweb_dialog_view.cc69 gfx::Size WebDialogView::GetPreferredSize() const { function in class:views::WebDialogView
/external/chromium_org/ash/frame/
H A Dcustom_frame_view_ash.cc472 gfx::Size CustomFrameViewAsh::GetPreferredSize() const { function in class:ash::CustomFrameViewAsh
473 gfx::Size pref = frame_->client_view()->GetPreferredSize();
/external/chromium_org/ash/system/tray/
H A Dtray_background_view.cc245 gfx::Size TrayBackgroundView::TrayContainer::GetPreferredSize() const { function in class:ash::TrayBackgroundView::TrayContainer
247 return views::View::GetPreferredSize();
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dchrome_native_app_window_views.cc564 gfx::Size ChromeNativeAppWindowViews::GetPreferredSize() const { function in class:ChromeNativeAppWindowViews
567 return NativeAppWindowViews::GetPreferredSize();
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_editor_view.cc141 gfx::Size BookmarkEditorView::GetPreferredSize() const { function in class:BookmarkEditorView
143 return views::View::GetPreferredSize();

Completed in 2281 milliseconds

1234567