gtk_util 81 chrome/browser/background/background_mode_manager_gtk.cc base::string16 result = gtk_util::GetStockPreferencesMenuLabel(); gtk_util 660 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gtk_util::SetWindowIcon(window_, profile, app_icon.ToGdkPixbuf()); gtk_util 662 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gtk_util::SetWindowIcon(window_, profile); gtk_util 194 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gtk_util::SetLayoutText(layout_, text); gtk_util 261 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gtk_util::DrawFullImage(cairo_context, gtk_util 70 chrome/browser/ui/gtk/back_forward_button_gtk.cc gtk_util::SetButtonTriggersNavigation(widget()); gtk_util 222 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::SetButtonClickableByMouseButtons( gtk_util 250 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::SuppressDefaultPainting(bookmark_toolbar_.get()); gtk_util 549 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::RemoveAllChildren(bookmark_toolbar_.get()); gtk_util 668 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::ActAsRoundedWindow(paint_box_, stroke_color, kNTPRoundedness, gtk_util 669 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::ROUNDED_ALL, gtk_util::BORDER_ALL); gtk_util 676 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::StopActingAsRoundedWindow(paint_box_); gtk_util 1017 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::SetRoundedWindowBorderColor(paint_box_, stroke_color); gtk_util 1051 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::SetButtonTriggersNavigation(button); gtk_util 1099 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::SetButtonClickableByMouseButtons(widget, true, true, false); gtk_util 1210 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect button_rect = gtk_util::WidgetBounds(button); gtk_util 1450 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gtk_util::DrawThemedToolbarBackground(widget, cr, event, tabstrip_origin, gtk_util 31 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc gtk_util::CenterWidgetInHBox(instructions_hbox_, instructions_label_, gtk_util 34 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), gtk_util 43 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc gtk_util::SetButtonTriggersNavigation(instructions_link_); gtk_util 46 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc gtk_util::ForceFontSizePixels( gtk_util 48 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc gtk_util::CenterWidgetInHBox(instructions_hbox_, instructions_link_, gtk_util 51 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), gtk_util 75 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc gtk_util::SetLabelColor(instructions_label_, NULL); gtk_util 79 chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc gtk_util::SetLabelColor(instructions_label_, &bookmark_color); gtk_util 190 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc GtkWidget* table = gtk_util::CreateLabeledControlsGroup( gtk_util 356 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc int width = gtk_util::GetWidgetSize(widget).width(); gtk_util 357 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gtk_util::SetLabelWidth(promo_label_, width); gtk_util 393 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gtk_util::SetLabelColor(promo_label_, &kPromoTextColor); gtk_util 371 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc table = gtk_util::CreateLabeledControlsGroup(NULL, gtk_util 380 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc table = gtk_util::CreateLabeledControlsGroup(NULL, gtk_util 458 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc gtk_util::ShowDialog(dialog_); gtk_util 64 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_util::GrabAllInput(grab_menu); gtk_util 165 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_util::SetAlwaysShowImage(menu_item); gtk_util 226 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc if (!gtk_util::WidgetContainsCursor(sender)) { gtk_util 82 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_util::ForceFontSizePixels(label, 13.4); // 13.4px == 10pt @ 96dpi gtk_util 198 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_util::AddWindowAlphaChannel(window)) { gtk_util 270 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc return gtk_util::BuildTooltipTitleFor(node->GetTitle(), node->url()); gtk_util 295 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gtk_util::SetLabelColor(label, NULL); gtk_util 289 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gtk_util::GrabAllInput(toolbar_->overflow_menu_->widget()); gtk_util 415 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::RemoveAllChildren(titlebar_left_buttons_vbox_); gtk_util 416 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::RemoveAllChildren(titlebar_right_buttons_vbox_); gtk_util 462 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::SetButtonClickableByMouseButtons(maximize_button_->widget(), gtk_util 621 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::SetWindowIcon(window_, profile); gtk_util 623 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::SetWindowIcon(window_, profile, icon.ToGdkPixbuf()); gtk_util 768 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::SetLabelColor(app_mode_title_, &text_color); gtk_util 770 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::SetLabelColor(app_mode_title_, &ui::kGdkWhite); gtk_util 780 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::SetLabelColor(avatar_label_, &text_color); gtk_util 793 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::RemoveAllChildren(titlebar_left_avatar_frame_); gtk_util 794 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::RemoveAllChildren(titlebar_right_avatar_frame_); gtk_util 795 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::RemoveAllChildren(titlebar_left_label_frame_); gtk_util 796 chrome/browser/ui/gtk/browser_titlebar.cc gtk_util::RemoveAllChildren(titlebar_right_label_frame_); gtk_util 973 chrome/browser/ui/gtk/browser_titlebar.cc gfx::Rect rect = gtk_util::WidgetBounds(widget); gtk_util 196 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gtk_util::SetButtonTriggersNavigation(home_->widget()); gtk_util 478 chrome/browser/ui/gtk/browser_toolbar_gtk.cc if (should_be_rounded == gtk_util::IsActingAsRoundedWindow(alignment_)) gtk_util 482 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gtk_util::ActAsRoundedWindow(alignment_, GdkColor(), kToolbarCornerSize, gtk_util 483 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gtk_util::ROUNDED_TOP, gtk_util 484 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gtk_util::BORDER_NONE); gtk_util 486 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gtk_util::StopActingAsRoundedWindow(alignment_); gtk_util 610 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gtk_util::DrawTextEntryBackground(offscreen_entry_.get(), gtk_util 1280 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_util::SetWindowIcon(window_, browser_->profile()); gtk_util 1761 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_util::SetDefaultWindowIcon(window_); gtk_util 1766 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_util::SetWindowIcon(window_, browser_->profile()); gtk_util 185 chrome/browser/ui/gtk/bubble/bubble_gtk.cc rect_ = rect ? *rect : gtk_util::WidgetBounds(anchor_widget); gtk_util 284 chrome/browser/ui/gtk/bubble/bubble_gtk.cc using gtk_util::MakeBidiGdkPoint; gtk_util 562 chrome/browser/ui/gtk/bubble/bubble_gtk.cc rect_ = rect ? *rect : gtk_util::WidgetBounds(anchor_widget_); gtk_util 37 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::CreateBoldLabel(text), gtk_util 46 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::IndentWidget( gtk_util 47 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::LeftAlignMisc(gtk_label_new(text.c_str()))), gtk_util 53 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::LeftAlignMisc(label), gtk_util 204 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::CreateBoldLabel( gtk_util 213 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::IndentWidget(gtk_util::LeftAlignMisc(gtk_label_new( gtk_util 550 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::CreateBoldLabel(l10n_util::GetStringUTF8( gtk_util 588 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::CreateBoldLabel(l10n_util::GetStringUTF8( gtk_util 618 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::CreateBoldLabel(l10n_util::GetStringUTF8( gtk_util 718 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::ShowDialog(dialog_); gtk_util 97 chrome/browser/ui/gtk/confirm_bubble_gtk.cc gtk_util::ForceFontSizePixels(message_label, kMessageTextSize); gtk_util 98 chrome/browser/ui/gtk/confirm_bubble_gtk.cc gtk_util::SetLabelWidth(message_label, kMaxMessageWidth); gtk_util 109 chrome/browser/ui/gtk/confirm_bubble_gtk.cc gtk_util::ForceFontSizePixels(link_button, kMessageTextSize); gtk_util 196 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gtk_table_attach(GTK_TABLE(table), gtk_util::LeftAlignMisc(label), 0, 1, gtk_util 207 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gtk_util::LeftAlignMisc(gtk_menu->label.get()), gtk_util 277 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gtk_util::IndentWidget(gtk_util::CreateBoldLabel(*j)), gtk_util 117 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc gtk_util::AddButtonToDialog(create_dialog_, gtk_util 120 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc gtk_util::AddButtonToDialog(create_dialog_, gtk_util 152 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc gtk_util::GetWidgetSizeFromResources( gtk_util 161 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc gtk_util::SetLabelWidth(description_label, label_width); gtk_util 258 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc gtk_util::SetWindowSizeFromResources( gtk_util 62 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc GtkWidget* ok_button = gtk_util::AddButtonToDialog( gtk_util 107 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc gtk_util::LeftAlignMisc(label); gtk_util 133 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc gtk_util::ShowDialog(dialog_); gtk_util 116 chrome/browser/ui/gtk/custom_button.cc int x = gtk_util::MirroredLeftPointForRect(widget, bounds); gtk_util 80 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.cc gtk_util::MakeAppModalWindowGroup(); gtk_util 109 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.cc gtk_util::AppModalDismissedUngroupWindows(); gtk_util 149 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::ForceFontSizePixels(name_label_, kTextSize); gtk_util 240 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::CenterWidgetInHBox(dangerous_hbox_.get(), dangerous_decline, gtk_util 250 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::CenterWidgetInHBox( gtk_util 521 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::SetLabelColor( gtk_util 551 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::ForceFontSizePixels(status_label_, kTextSize); gtk_util 578 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::SetLabelColor( gtk_util 596 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::SetLabelColor(dangerous_label_, NULL); gtk_util 600 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::SetLabelColor(dangerous_label_, &color); gtk_util 607 chrome/browser/ui/gtk/download/download_item_gtk.cc gtk_util::ForceFontSizePixels(dangerous_label_, kTextSize); gtk_util 124 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_util::CenterWidgetInHBox(outer_hbox, close_button_->widget(), true, 0); gtk_util 133 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_util::SetButtonTriggersNavigation(link_button_); gtk_util 136 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_util::ForceFontSizePixels(GTK_CHROME_LINK_BUTTON(link_button_)->label, gtk_util 145 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_util::CenterWidgetInHBox(outer_hbox, link_button_, true, 0); gtk_util 146 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_util::CenterWidgetInHBox(outer_hbox, download_image, true, 0); gtk_util 169 chrome/browser/ui/gtk/edit_search_engine_dialog.cc GtkWidget* controls = gtk_util::CreateLabeledControlsGroup(NULL, gtk_util 172 chrome/browser/ui/gtk/edit_search_engine_dialog.cc gtk_util::CreateEntryImageHBox(title_entry_, title_image_), gtk_util 174 chrome/browser/ui/gtk/edit_search_engine_dialog.cc gtk_util::CreateEntryImageHBox(keyword_entry_, keyword_image_), gtk_util 176 chrome/browser/ui/gtk/edit_search_engine_dialog.cc gtk_util::CreateEntryImageHBox(url_entry_, url_image_), gtk_util 211 chrome/browser/ui/gtk/edit_search_engine_dialog.cc gtk_util::ShowDialog(dialog_); gtk_util 94 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(reference_widget); gtk_util 117 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gtk_util::CreateBoldLabel(base::UTF16ToUTF8(heading)); gtk_util 118 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gtk_util::SetLabelWidth(heading_label, kContentWidth); gtk_util 124 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gtk_util::SetLabelWidth(extension_label, kContentWidth); gtk_util 73 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(detail_label, width - kDetailIndent); gtk_util 196 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* heading_label = gtk_util::CreateBoldLabel( gtk_util 198 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(heading_label, left_column_min_width); gtk_util 209 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::ForceFontSizePixels(rating_label, kRatingTextSize); gtk_util 216 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(users_label, left_column_min_width); gtk_util 217 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelColor(users_label, &ui::kGdkGray); gtk_util 218 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::ForceFontSizePixels(rating_label, kRatingTextSize); gtk_util 225 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::ForceFontSizePixels(store_link, kRatingTextSize); gtk_util 245 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(extension_label, left_column_min_width); gtk_util 281 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* permissions_header = gtk_util::CreateBoldLabel( gtk_util 283 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(permissions_header, left_column_min_width); gtk_util 292 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(permission_label, left_column_min_width); gtk_util 311 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(permission_label, left_column_min_width); gtk_util 326 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* oauth_issues_header = gtk_util::CreateBoldLabel( gtk_util 328 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(oauth_issues_header, pixel_width); gtk_util 348 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* retained_files_header = gtk_util::CreateBoldLabel( gtk_util 350 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(retained_files_header, pixel_width); gtk_util 411 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(label, pixel_width); gtk_util 182 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gtk_util::SetLabelWidth(heading_label, kTextColumnWidth); gtk_util 206 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gtk_util::SetLabelWidth(info_label, kTextColumnWidth); gtk_util 229 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gtk_util::SetLabelWidth(info_label, kTextColumnWidth); gtk_util 239 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gtk_util::SetLabelWidth(info_label, kTextColumnWidth); gtk_util 256 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gtk_util::SetLabelWidth(manage_label, kTextColumnWidth); gtk_util 271 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(reference_widget); gtk_util 61 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_util::RemoveAllChildren(contents_.get()); gtk_util 66 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc GtkWidget* header = gtk_util::LeftAlignMisc(gtk_label_new( gtk_util 182 chrome/browser/ui/gtk/extensions/media_galleries_dialog_gtk.cc gtk_util::SetLabelColor(details_label, &kDeemphasizedTextColor); gtk_util 94 chrome/browser/ui/gtk/find_bar_gtk.cc using gtk_util::MakeBidiGdkPoint; gtk_util 234 chrome/browser/ui/gtk/find_bar_gtk.cc container_ = gtk_util::CreateGtkBorderBin(hbox, NULL, gtk_util 511 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_util::UndoForceFontSize(text_entry_); gtk_util 512 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_util::UndoForceFontSize(match_count_label_); gtk_util 543 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_util::ForceFontSizePixels(text_entry_, 13.4); // 13.4px == 10pt @ 96dpi gtk_util 544 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_util::ForceFontSizePixels(match_count_label_, 13.4); gtk_util 644 chrome/browser/ui/gtk/find_bar_gtk.cc GdkColor normal_text = gtk_util::AverageColors( gtk_util 874 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_util::DrawTextEntryBackground(bar->text_entry_, widget, gtk_util 938 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_util::DrawThemedToolbarBackground(widget, cr, e, tabstrip_origin, gtk_util 89 chrome/browser/ui/gtk/first_run_dialog.cc gtk_util::AddButtonToDialog(dialog_, gtk_util 119 chrome/browser/ui/gtk/first_run_dialog.cc gtk_util::IndentWidget(learn_more_link), gtk_util 131 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc bubble_ = gtk_util::CreateGtkBorderBin( gtk_util 134 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gtk_util::ActAsRoundedWindow(bubble_, kFrameColor, 3, gtk_util 135 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gtk_util::ROUNDED_ALL, gtk_util::BORDER_ALL); gtk_util 64 chrome/browser/ui/gtk/global_error_bubble.cc gtk_util::ForceFontSizePixels(message_labels_[i], kMessageTextSize); gtk_util 147 chrome/browser/ui/gtk/global_error_bubble.cc int width = gtk_util::GetWidgetSize(sender).width(); gtk_util 150 chrome/browser/ui/gtk/global_error_bubble.cc gtk_util::SetLabelWidth(message_labels_[i], message_width_); gtk_util 212 chrome/browser/ui/gtk/global_history_menu.cc std::string tooltip = gtk_util::BuildTooltipTitleFor(item->title, item->url); gtk_util 418 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetLabelColor(label, &color); gtk_util 678 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetLabelColor(it->first, color); gtk_util 686 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetDefaultWindowIcon(window); gtk_util 687 chrome/browser/ui/gtk/gtk_theme_service.cc gtk_util::SetWindowIcon(window, browser->profile()); gtk_util 388 chrome/browser/ui/gtk/gtk_util.cc gtk_util::GetWidgetSizeFromResources(GTK_WIDGET(window), width_id, height_id, gtk_util 927 chrome/browser/ui/gtk/gtk_util.cc gtk_util::GetWidgetSizeFromResources(dialog, width_id, 0, &width, NULL); gtk_util 30 chrome/browser/ui/gtk/gtk_util.h namespace gtk_util { gtk_util 206 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc gtk_util::ShowDialog(GTK_WIDGET(dialog_)); gtk_util 47 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc gtk_util::AddButtonToDialog(dialog_, gtk_util 50 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc gtk_util::AddButtonToDialog(dialog_, gtk_util 40 chrome/browser/ui/gtk/infobars/after_translate_infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), new_hbox, false, 0); gtk_util 27 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), new_hbox, false, 0); gtk_util 58 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc gtk_util::ForceFontSizePixels(label, 13.4); gtk_util 60 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc gtk_util::CenterWidgetInHBox(confirm_hbox_, label, true, 0); gtk_util 62 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), gtk_util 72 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc gtk_util::SetButtonTriggersNavigation(link); gtk_util 75 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc gtk_util::ForceFontSizePixels(GTK_CHROME_LINK_BUTTON(link)->label, 13.4); gtk_util 76 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), link, true, kEndOfLabelSpacing); gtk_util 93 chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc gtk_util::CenterWidgetInHBox(confirm_hbox_, button, true, 0); gtk_util 82 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), button_, false, 0); gtk_util 84 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), icon_, false, 0); gtk_util 128 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gtk_util::RemoveAllChildren(alignment_); gtk_util 63 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc gtk_util::RemoveAllChildren(widget()); gtk_util 125 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox_, close_button_->widget(), true, 0); gtk_util 220 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::ForceFontSizePixels( gtk_util 224 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::SetButtonTriggersNavigation(link_button); gtk_util 238 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::ForceFontSizePixels(initial_label, 13.4); gtk_util 239 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::ForceFontSizePixels(trailing_label, 13.4); gtk_util 248 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox, link_button, false, 0); gtk_util 91 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), options_menu_button, true, 0); gtk_util 25 chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox(), new_hbox, false, 0); gtk_util 87 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc gtk_util::MakeAppModalWindowGroup(); gtk_util 94 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc gtk_util::ApplyMessageDialogQuirks(gtk_dialog_); gtk_util 174 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc gtk_util::ShowDialogWithMinLocalizedWidth(GTK_WIDGET(gtk_dialog_), gtk_util 221 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc gtk_util::AppModalDismissedUngroupWindows(); gtk_util 265 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::StopActingAsRoundedWindow(event_box_.get()); gtk_util 415 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::CenterWidgetInHBox(tab_to_search_hbox, tab_to_search_label_hbox, gtk_util 420 chrome/browser/ui/gtk/location_bar_view_gtk.cc tab_to_search_box_ = gtk_util::CreateGtkBorderBin( gtk_util 423 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ActAsRoundedWindow(tab_to_search_box_, kKeywordBorderColor, gtk_util 425 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ROUNDED_ALL, gtk_util::BORDER_ALL); gtk_util 861 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::SetRoundedWindowBorderColor(tab_to_search_box_, border_color); gtk_util 863 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::UndoForceFontSize(security_info_label_); gtk_util 864 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::UndoForceFontSize(tab_to_search_full_label_); gtk_util 865 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::UndoForceFontSize(tab_to_search_partial_label_); gtk_util 866 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::UndoForceFontSize(tab_to_search_hint_leading_label_); gtk_util 867 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::UndoForceFontSize(tab_to_search_hint_trailing_label_); gtk_util 878 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::SetRoundedWindowBorderColor(tab_to_search_box_, gtk_util 883 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ForceFontSizePixels(security_info_label_, 12.1); gtk_util 884 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ForceFontSizePixels(tab_to_search_full_label_, gtk_util 886 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ForceFontSizePixels(tab_to_search_partial_label_, gtk_util 888 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ForceFontSizePixels(tab_to_search_hint_leading_label_, gtk_util 890 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ForceFontSizePixels(tab_to_search_hint_trailing_label_, gtk_util 1076 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!gtk_util::WidgetBounds(sender).Contains( gtk_util 1082 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!gtk_util::URLFromPrimarySelection(profile(), &url)) gtk_util 1201 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!gtk_util::IsActingAsRoundedWindow(site_type_event_box_)) { gtk_util 1209 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ActAsRoundedWindow(site_type_event_box_, gtk_util 1212 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ROUNDED_ALL, gtk_util 1213 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::BORDER_ALL); gtk_util 1224 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (gtk_util::IsActingAsRoundedWindow(site_type_event_box_)) { gtk_util 1225 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::StopActingAsRoundedWindow(site_type_event_box_); gtk_util 1361 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(location_icon_image_); gtk_util 1650 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ActAsRoundedWindow(event_box_.get(), border_color, gtk_util 1652 chrome/browser/ui/gtk/location_bar_view_gtk.cc gtk_util::ROUNDED_ALL, gtk_util::BORDER_ALL); gtk_util 89 chrome/browser/ui/gtk/login_prompt_gtk.cc GtkWidget* table = gtk_util::CreateLabeledControlsGroup(NULL, gtk_util 44 chrome/browser/ui/gtk/menu_bar_helper.cc if (gtk_util::WidgetContainsCursor(parent)) gtk_util 362 chrome/browser/ui/gtk/menu_gtk.cc gtk_util::SetAlwaysShowImage(menu_item); gtk_util 371 chrome/browser/ui/gtk/menu_gtk.cc gtk_util::SetAlwaysShowImage(menu_item); gtk_util 526 chrome/browser/ui/gtk/menu_gtk.cc gtk_util::SetAlwaysShowImage(menu_item); gtk_util 307 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_util::ActAsRoundedWindow(frame_container_, ui::kGdkBlack, 3, gtk_util 308 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_util::ROUNDED_ALL, gtk_util 309 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_util::BORDER_ALL); gtk_util 301 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::UndoForceFontSize(window_); gtk_util 305 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::GetTextColors( gtk_util 309 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc hovered_background_color_ = gtk_util::AverageColors( gtk_util 315 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::ForceFontSizePixels(window_, font_.GetFontSize()); gtk_util 330 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::AverageColors(content_text_color_, gtk_util 333 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::AverageColors(selected_content_text_color_, gtk_util 666 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::DrawFullImage(cr, widget, gtk_util 743 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gtk_util::DrawFullImage(cr, widget, gtk_util 791 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc faded_text = gtk_util::AverageColors( gtk_util 1646 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_util::UndoForceFontSize(text_view_); gtk_util 1647 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_util::UndoForceFontSize(gray_text_view_); gtk_util 1654 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GdkColor average_color = gtk_util::AverageColors( gtk_util 1687 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_util::ForceFontSizePixels(text_view_, font.GetFontSize()); gtk_util 1688 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_util::ForceFontSizePixels(gray_text_view_, font.GetFontSize()); gtk_util 286 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(parent_widget); gtk_util 927 chrome/browser/ui/gtk/panels/panel_gtk.cc gtk_util::SetWindowIcon(window_, panel_->profile(), app_icon.ToGdkPixbuf()); gtk_util 252 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc gtk_util::SetLabelColor(title_, &text_color); gtk_util 313 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc event->crossing.time = gtk_util::XTimeNow(); gtk_util 63 chrome/browser/ui/gtk/password_generation_bubble_gtk.cc gtk_util::IndentWidget(learn_more_link), gtk_util 47 chrome/browser/ui/gtk/process_singleton_dialog.cc gtk_util::ApplyMessageDialogQuirks(dialog_); gtk_util 56 chrome/browser/ui/gtk/protocol_dialog_gtk.cc gtk_util::AddButtonToDialog(dialog_, gtk_util 60 chrome/browser/ui/gtk/protocol_dialog_gtk.cc gtk_util::AddButtonToDialog(dialog_, gtk_util 72 chrome/browser/ui/gtk/protocol_dialog_gtk.cc gtk_util::SetLabelWidth(label, kMessageWidth); gtk_util 92 chrome/browser/ui/gtk/reload_button_gtk.cc gtk_util::SetButtonTriggersNavigation(widget()); gtk_util 62 chrome/browser/ui/gtk/rounded_window.cc using gtk_util::MakeBidiGdkPoint; gtk_util 10 chrome/browser/ui/gtk/rounded_window.h namespace gtk_util { gtk_util 23 chrome/browser/ui/gtk/simple_message_box_gtk.cc gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, gtk_util 70 chrome/browser/ui/gtk/simple_message_box_gtk.cc gtk_util::ApplyMessageDialogQuirks(dialog); gtk_util 76 chrome/browser/ui/gtk/simple_message_box_gtk.cc gtk_util::ShowDialog(dialog); gtk_util 85 chrome/browser/ui/gtk/simple_message_box_gtk.cc gtk_util::ShowDialog(dialog); gtk_util 137 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc gtk_util::SetLabelColor(label_, &kLabelTextColor); gtk_util 196 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc target_rect = gtk_util::WidgetBounds(reference_widget); gtk_util 117 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc GtkWidget* site_description_label = gtk_util::CreateBoldLabel( gtk_util 124 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc gtk_util::LeftAlignMisc(site_label); gtk_util 131 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc GtkWidget* choose_description_label = gtk_util::CreateBoldLabel( gtk_util 145 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc gtk_util::LeftAlignMisc(details_label); gtk_util 210 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::GetWidgetRectRelativeToToplevel(parent); gtk_util 276 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::ActAsRoundedWindow( gtk_util 278 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::ROUNDED_TOP_RIGHT, gtk_util 279 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::BORDER_TOP | gtk_util::BORDER_RIGHT); gtk_util 313 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::SetRoundedWindowBorderColor(container_.get(), gtk_util 331 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::SetRoundedWindowEdgesAndBorders( gtk_util 335 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::ROUNDED_TOP_LEFT : gtk_util 336 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::ROUNDED_TOP_RIGHT, gtk_util 337 chrome/browser/ui/gtk/status_bubble_gtk.cc gtk_util::BORDER_TOP | gtk_util 338 chrome/browser/ui/gtk/status_bubble_gtk.cc (flip_horizontally ? gtk_util::BORDER_LEFT : gtk_util::BORDER_RIGHT)); gtk_util 525 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int dragged_bounds_start = gtk_util::MirroredLeftPointForRect( gtk_util 528 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int dragged_bounds_end = gtk_util::MirroredRightPointForRect( gtk_util 587 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc bounds.set_x(gtk_util::MirroredLeftPointForRect(parent, bounds)); gtk_util 831 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_util::MirroredLeftPointForRect(tab_.get(), favicon_bounds_)); gtk_util 833 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_util::MirroredLeftPointForRect(tab_.get(), media_indicator_bounds_)); gtk_util 835 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_util::MirroredLeftPointForRect(tab_.get(), close_button_bounds_)); gtk_util 837 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_util::MirroredLeftPointForRect(tab_.get(), title_bounds_)); gtk_util 1479 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bounds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds)); gtk_util 1614 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gtk_util::ConvertWidgetPointToScreen(tabstrip_.get(), &tabstrip_topleft); gtk_util 1683 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc center_x = gtk_util::MirroredXCoordinate(tabstrip_.get(), center_x); gtk_util 1688 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gtk_util::ConvertWidgetPointToScreen(tabstrip_.get(), &drop_loc); gtk_util 1705 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc x = gtk_util::MirroredXCoordinate(tabstrip_.get(), x); gtk_util 2195 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (!gtk_util::URLFromPrimarySelection(model_->profile(), &url)) gtk_util 2212 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds)); gtk_util 2258 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gtk_util::SetButtonTriggersNavigation(button->widget()); gtk_util 420 chrome/browser/ui/gtk/task_manager_gtk.cc gtk_util::PresentWindow(instance_->dialog_, 0); gtk_util 506 chrome/browser/ui/gtk/task_manager_gtk.cc gtk_util::ShowDialog(dialog_); gtk_util 816 chrome/browser/ui/gtk/task_manager_gtk.cc gfx::Rect dialog_bounds = gtk_util::GetDialogBounds(GTK_WIDGET(dialog)); gtk_util 41 chrome/browser/ui/gtk/update_recommended_dialog.cc gtk_util::SetLabelWidth(label, kMessageWidth); gtk_util 104 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc gtk_util::ForceFontSizePixels(label, main_font.GetHeight()); gtk_util 106 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc GTK_BOX(text_box), gtk_util::LeftAlignMisc(label), TRUE, TRUE, 0); gtk_util 111 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc gtk_util::ForceFontSizePixels(sub_label, sub_font.GetHeight()); gtk_util 114 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc gtk_util::SetLabelWidth(sub_label, kTextMaxWidth); gtk_util 116 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc GTK_BOX(text_box), gtk_util::LeftAlignMisc(sub_label), TRUE, TRUE, 0); gtk_util 80 chrome/browser/ui/gtk/web_contents_modal_dialog_manager_gtk.cc if (gtk_util::IsWidgetAncestryVisible(focus_widget)) gtk_util 127 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::Rect dialog_bounds = gtk_util::GetDialogBounds(GTK_WIDGET(dialog_)); gtk_util 71 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_util::SetLabelWidth(label, width); gtk_util 274 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_util::RemoveAllChildren(contents_); gtk_util 488 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_util::SetLabelWidth(identity_label, label_width); gtk_util 784 chrome/browser/ui/startup/startup_browser_creator_impl.cc gtk_util::SetWMLastUserActionTime(browser->window()->GetNativeWindow());