/external/chromium/chrome/browser/ui/gtk/infobars/ |
D | confirm_infobar_gtk.cc | 39 gtk_util::ForceFontSizePixels(label, 13.4); in ConfirmInfoBarGtk() 41 gtk_util::CenterWidgetInHBox(confirm_hbox_, label, true, 0); in ConfirmInfoBarGtk() 42 gtk_widget_modify_fg(label, GTK_STATE_NORMAL, >k_util::kGdkBlack); in ConfirmInfoBarGtk() 44 G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), in ConfirmInfoBarGtk() 54 gtk_util::SetButtonTriggersNavigation(link); in ConfirmInfoBarGtk() 57 gtk_util::ForceFontSizePixels(GTK_CHROME_LINK_BUTTON(link)->label, 13.4); in ConfirmInfoBarGtk() 58 gtk_util::CenterWidgetInHBox(hbox_, link, true, kEndOfLabelSpacing); in ConfirmInfoBarGtk() 68 gtk_util::CenterWidgetInHBox(confirm_hbox_, button, true, 0); in AddButton() 88 gtk_util::DispositionForCurrentButtonPressEvent())) { in OnLinkClicked()
|
D | infobar_gtk.cc | 73 gtk_util::CenterWidgetInHBox(hbox_, close_button_->widget(), true, 0); in InfoBar() 170 gtk_util::ForceFontSizePixels( in AddLabelWithInlineLink() 174 gtk_util::SetButtonTriggersNavigation(link_button); in AddLabelWithInlineLink() 188 gtk_util::ForceFontSizePixels(initial_label, 13.4); in AddLabelWithInlineLink() 189 gtk_util::ForceFontSizePixels(trailing_label, 13.4); in AddLabelWithInlineLink() 194 gtk_widget_modify_fg(initial_label, GTK_STATE_NORMAL, >k_util::kGdkBlack); in AddLabelWithInlineLink() 195 gtk_widget_modify_fg(trailing_label, GTK_STATE_NORMAL, >k_util::kGdkBlack); in AddLabelWithInlineLink() 200 gtk_util::CenterWidgetInHBox(hbox, link_button, false, 0); in AddLabelWithInlineLink()
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_bar_instructions_gtk.cc | 27 gtk_util::CenterWidgetInHBox(instructions_hbox_, instructions_label_, in BookmarkBarInstructionsGtk() 30 G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), in BookmarkBarInstructionsGtk() 39 gtk_util::SetButtonTriggersNavigation(instructions_link_); in BookmarkBarInstructionsGtk() 42 gtk_util::ForceFontSizePixels( in BookmarkBarInstructionsGtk() 44 gtk_util::CenterWidgetInHBox(instructions_hbox_, instructions_link_, in BookmarkBarInstructionsGtk() 47 G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), in BookmarkBarInstructionsGtk() 74 gtk_util::SetLabelColor(instructions_label_, NULL); in UpdateColors() 78 gtk_util::SetLabelColor(instructions_label_, &bookmark_color); in UpdateColors()
|
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_bar_instructions_gtk.cc | 31 gtk_util::CenterWidgetInHBox(instructions_hbox_, instructions_label_, in BookmarkBarInstructionsGtk() 34 G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), in BookmarkBarInstructionsGtk() 43 gtk_util::SetButtonTriggersNavigation(instructions_link_); in BookmarkBarInstructionsGtk() 46 gtk_util::ForceFontSizePixels( in BookmarkBarInstructionsGtk() 48 gtk_util::CenterWidgetInHBox(instructions_hbox_, instructions_link_, in BookmarkBarInstructionsGtk() 51 G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), in BookmarkBarInstructionsGtk() 75 gtk_util::SetLabelColor(instructions_label_, NULL); in UpdateColors() 79 gtk_util::SetLabelColor(instructions_label_, &bookmark_color); in UpdateColors()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | fullscreen_exit_bubble_gtk.cc | 56 GtkWidget* container = gtk_util::CreateGtkBorderBin( in InitWidgets() 57 link, >k_util::kGdkBlack, in InitWidgets() 59 gtk_util::ActAsRoundedWindow(container, gtk_util::kGdkGreen, kPaddingPixels, in InitWidgets() 60 gtk_util::ROUNDED_BOTTOM_LEFT | gtk_util::ROUNDED_BOTTOM_RIGHT, in InitWidgets() 61 gtk_util::BORDER_NONE); in InitWidgets()
|
D | status_bubble_gtk.cc | 194 gtk_util::GetWidgetRectRelativeToToplevel(parent); in MouseMoved() 260 gtk_util::ActAsRoundedWindow( in InitWidgets() 261 container_.get(), gtk_util::kGdkWhite, kCornerSize, in InitWidgets() 262 gtk_util::ROUNDED_TOP_RIGHT, in InitWidgets() 263 gtk_util::BORDER_TOP | gtk_util::BORDER_RIGHT); in InitWidgets() 297 gtk_util::SetRoundedWindowBorderColor(container_.get(), in UserChangedTheme() 315 gtk_util::SetRoundedWindowEdgesAndBorders( in SetFlipHorizontally() 319 gtk_util::ROUNDED_TOP_LEFT : in SetFlipHorizontally() 320 gtk_util::ROUNDED_TOP_RIGHT, in SetFlipHorizontally() 321 gtk_util::BORDER_TOP | in SetFlipHorizontally() [all …]
|
D | create_application_shortcuts_dialog_gtk.cc | 94 gtk_util::AddButtonToDialog(create_dialog_, in CreateDialogBox() 97 gtk_util::AddButtonToDialog(create_dialog_, in CreateDialogBox() 102 gtk_box_set_spacing(GTK_BOX(content_area), gtk_util::kContentAreaSpacing); in CreateDialogBox() 104 GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in CreateDialogBox() 109 GtkWidget* hbox = gtk_hbox_new(FALSE, gtk_util::kControlSpacing); in CreateDialogBox() 112 gtk_util::kControlSpacing); in CreateDialogBox() 128 gtk_util::GetWidgetSizeFromResources( in CreateDialogBox() 131 label_width -= gtk_util::kControlSpacing * 3 + in CreateDialogBox() 133 gtk_util::SetLabelWidth(description_label, label_width); in CreateDialogBox() 236 gtk_util::SetWindowSizeFromResources( in ShowErrorDialog() [all …]
|
D | first_run_dialog.cc | 79 allocation->width - req.width - gtk_util::kContentAreaSpacing : in SetWelcomePosition() 80 gtk_util::kContentAreaSpacing; in SetWelcomePosition() 195 GtkWidget* welcome_message = gtk_util::CreateBoldLabel( in ShowSearchEngineWindow() 199 gtk_util::ForceFontSizePixels(welcome_message, 13.4); in ShowSearchEngineWindow() 213 GTK_STATE_NORMAL, >k_util::kGdkWhite); in ShowSearchEngineWindow() 217 gtk_util::kContentAreaSpacing); in ShowSearchEngineWindow() 224 gtk_util::SetLabelColor(explanation, >k_util::kGdkBlack); in ShowSearchEngineWindow() 225 gtk_util::SetLabelWidth(explanation, kExplanationWidth); in ShowSearchEngineWindow() 258 gtk_util::AddButtonToDialog(dialog_, in ShowReportingDialog() 288 gtk_util::IndentWidget(learn_more_link), in ShowReportingDialog() [all …]
|
D | certificate_viewer.cc | 34 gtk_util::CreateBoldLabel(text), in AddTitle() 43 gtk_util::IndentWidget( in AddKeyValue() 44 gtk_util::LeftAlignMisc(gtk_label_new(text.c_str()))), in AddKeyValue() 50 gtk_util::LeftAlignMisc(label), in AddKeyValue() 151 gtk_util::kContentAreaSpacing); in CertificateViewer() 186 general_page_vbox_ = gtk_vbox_new(FALSE, gtk_util::kContentAreaSpacing); in InitGeneralPage() 188 gtk_util::kContentAreaBorder); in InitGeneralPage() 190 GtkWidget* uses_vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in InitGeneralPage() 194 gtk_util::CreateBoldLabel( in InitGeneralPage() 203 gtk_util::IndentWidget(gtk_util::LeftAlignMisc(gtk_label_new( in InitGeneralPage() [all …]
|
D | location_bar_view_gtk.cc | 235 gtk_util::CenterWidgetInHBox(tab_to_search_hbox, tab_to_search_label_hbox, in Init() 240 tab_to_search_box_ = gtk_util::CreateGtkBorderBin( in Init() 243 gtk_util::ActAsRoundedWindow(tab_to_search_box_, kKeywordBorderColor, in Init() 245 gtk_util::ROUNDED_ALL, gtk_util::BORDER_ALL); in Init() 770 gtk_util::SetRoundedWindowBorderColor(tab_to_search_box_, border_color); in Observe() 772 gtk_util::SetLabelColor(tab_to_search_full_label_, NULL); in Observe() 773 gtk_util::SetLabelColor(tab_to_search_partial_label_, NULL); in Observe() 774 gtk_util::SetLabelColor(tab_to_search_hint_leading_label_, NULL); in Observe() 775 gtk_util::SetLabelColor(tab_to_search_hint_trailing_label_, NULL); in Observe() 777 gtk_util::UndoForceFontSize(security_info_label_); in Observe() [all …]
|
D | content_setting_bubble_gtk.cc | 92 GtkWidget* bubble_content = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in BuildBubble() 106 GtkWidget* list_content = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in BuildBubble() 124 gtk_util::kControlSpacing); in BuildBubble() 150 GTK_FILL, GTK_FILL, gtk_util::kControlSpacing / 2, in BuildBubble() 151 gtk_util::kControlSpacing / 2); in BuildBubble() 160 GTK_FILL, GTK_FILL, gtk_util::kControlSpacing / 2, in BuildBubble() 161 gtk_util::kControlSpacing / 2); in BuildBubble() 200 GtkWidget* list_content = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in BuildBubble() 210 gtk_util::IndentWidget(gtk_util::CreateBoldLabel(*j)), in BuildBubble() 214 gtk_util::kControlSpacing); in BuildBubble()
|
D | external_protocol_dialog_gtk.cc | 53 gtk_util::AddButtonToDialog(dialog_, in ExternalProtocolDialogGtk() 57 gtk_util::AddButtonToDialog(dialog_, in ExternalProtocolDialogGtk() 82 GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in ExternalProtocolDialogGtk() 84 gtk_util::kContentAreaBorder); in ExternalProtocolDialogGtk() 88 gtk_util::SetLabelWidth(label, kMessageWidth); in ExternalProtocolDialogGtk()
|
D | theme_install_bubble_view_gtk.cc | 96 gtk_widget_modify_fg(label, GTK_STATE_NORMAL, >k_util::kGdkWhite); in InitWidgets() 104 if (gtk_util::IsScreenComposited()) { in InitWidgets() 121 gtk_widget_modify_bg(widget_, GTK_STATE_NORMAL, >k_util::kGdkBlack); in InitWidgets() 123 gtk_util::ActAsRoundedWindow(widget_, color, kBubbleCornerRadius, in InitWidgets() 124 gtk_util::ROUNDED_ALL, gtk_util::BORDER_NONE); in InitWidgets()
|
D | constrained_window_gtk.cc | 50 gtk_util::kContentAreaBorder, gtk_util::kContentAreaBorder, in ConstrainedWindowGtk() 51 gtk_util::kContentAreaBorder, gtk_util::kContentAreaBorder); in ConstrainedWindowGtk() 109 gtk_util::IsWidgetAncestryVisible(focus_widget)) { in FocusConstrainedWindow()
|
D | page_info_bubble_gtk.cc | 169 gtk_widget_modify_fg(*it, GTK_STATE_NORMAL, >k_util::kGdkBlack); in Observe() 181 contents_ = gtk_vbox_new(FALSE, gtk_util::kContentAreaSpacing); in InitContents() 183 gtk_util::kContentAreaBorder); in InitContents() 187 gtk_util::RemoveAllChildren(contents_); in InitContents() 215 GtkWidget* section_box = gtk_hbox_new(FALSE, gtk_util::kControlSpacing); in CreateSection() 224 GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in CreateSection() 236 gtk_util::SetLabelWidth(label, 400); in CreateSection() 245 gtk_util::SetLabelWidth(label, 400); in CreateSection()
|
D | repost_form_warning_gtk.cc | 20 dialog_ = gtk_vbox_new(FALSE, gtk_util::kContentAreaBorder); in RepostFormWarningGtk() 21 gtk_box_set_spacing(GTK_BOX(dialog_), gtk_util::kContentAreaSpacing); in RepostFormWarningGtk() 31 GtkWidget *hbox = gtk_hbox_new(FALSE, gtk_util::kControlSpacing); in RepostFormWarningGtk() 41 gtk_box_set_spacing(GTK_BOX(buttonBox), gtk_util::kControlSpacing); in RepostFormWarningGtk()
|
D | collected_cookies_gtk.cc | 89 dialog_ = gtk_vbox_new(FALSE, gtk_util::kContentAreaSpacing); in Init() 90 gtk_box_set_spacing(GTK_BOX(dialog_), gtk_util::kContentAreaSpacing); in Init() 147 gtk_box_set_spacing(GTK_BOX(button_box), gtk_util::kControlSpacing); in Init() 164 GtkWidget* cookie_list_vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in CreateAllowedPane() 171 gtk_util::kControlSpacing); in CreateAllowedPane() 218 gtk_box_set_spacing(GTK_BOX(button_box), gtk_util::kControlSpacing); in CreateAllowedPane() 220 gtk_util::kControlSpacing); in CreateAllowedPane() 231 gtk_util::kControlSpacing); in CreateAllowedPane() 239 GtkWidget* cookie_list_vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); in CreateBlockedPane() 250 gtk_util::kControlSpacing); in CreateBlockedPane() [all …]
|
D | tab_contents_drag_source.cc | 109 if (!image.isNull() && gtk_util::IsScreenComposited()) in StartDragging() 131 gtk_util::WebDragOpToGdkDragAction(allowed_ops), in StartDragging() 158 gfx::Point client = gtk_util::ClientPoint(GetContentNativeView()); in DidProcessEvent() 277 gfx::Point root = gtk_util::ScreenPoint(GetContentNativeView()); in OnDragFailed() 278 gfx::Point client = gtk_util::ClientPoint(GetContentNativeView()); in OnDragFailed() 349 gfx::Point root = gtk_util::ScreenPoint(GetContentNativeView()); in OnDragEnd() 350 gfx::Point client = gtk_util::ClientPoint(GetContentNativeView()); in OnDragEnd() 355 gtk_util::GdkDragActionToWebDragOp(drag_context->action)); in OnDragEnd()
|
/external/chromium_org/chrome/browser/ui/gtk/infobars/ |
D | confirm_infobar_gtk.cc | 58 gtk_util::ForceFontSizePixels(label, 13.4); in PlatformSpecificSetOwner() 60 gtk_util::CenterWidgetInHBox(confirm_hbox_, label, true, 0); in PlatformSpecificSetOwner() 62 G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), in PlatformSpecificSetOwner() 72 gtk_util::SetButtonTriggersNavigation(link); in PlatformSpecificSetOwner() 75 gtk_util::ForceFontSizePixels(GTK_CHROME_LINK_BUTTON(link)->label, 13.4); in PlatformSpecificSetOwner() 76 gtk_util::CenterWidgetInHBox(hbox(), link, true, kEndOfLabelSpacing); in PlatformSpecificSetOwner() 93 gtk_util::CenterWidgetInHBox(confirm_hbox_, button, true, 0); in AddButton()
|
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
D | extension_install_dialog_gtk.cc | 73 gtk_util::SetLabelWidth(detail_label, width - kDetailIndent); in CreateDetailsWidget() 194 GtkWidget* heading_label = gtk_util::CreateBoldLabel( in ExtensionInstallDialog() 196 gtk_util::SetLabelWidth(heading_label, left_column_min_width); in ExtensionInstallDialog() 207 gtk_util::ForceFontSizePixels(rating_label, kRatingTextSize); in ExtensionInstallDialog() 214 gtk_util::SetLabelWidth(users_label, left_column_min_width); in ExtensionInstallDialog() 215 gtk_util::SetLabelColor(users_label, &ui::kGdkGray); in ExtensionInstallDialog() 216 gtk_util::ForceFontSizePixels(rating_label, kRatingTextSize); in ExtensionInstallDialog() 223 gtk_util::ForceFontSizePixels(store_link, kRatingTextSize); in ExtensionInstallDialog() 243 gtk_util::SetLabelWidth(extension_label, left_column_min_width); in ExtensionInstallDialog() 279 GtkWidget* permissions_header = gtk_util::CreateBoldLabel( in ExtensionInstallDialog() [all …]
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | status_bubble_gtk.cc | 207 gtk_util::GetWidgetRectRelativeToToplevel(parent); in MouseMoved() 273 gtk_util::ActAsRoundedWindow( in InitWidgets() 275 gtk_util::ROUNDED_TOP_RIGHT, in InitWidgets() 276 gtk_util::BORDER_TOP | gtk_util::BORDER_RIGHT); in InitWidgets() 310 gtk_util::SetRoundedWindowBorderColor(container_.get(), in UserChangedTheme() 328 gtk_util::SetRoundedWindowEdgesAndBorders( in SetFlipHorizontally() 332 gtk_util::ROUNDED_TOP_LEFT : in SetFlipHorizontally() 333 gtk_util::ROUNDED_TOP_RIGHT, in SetFlipHorizontally() 334 gtk_util::BORDER_TOP | in SetFlipHorizontally() 335 (flip_horizontally ? gtk_util::BORDER_LEFT : gtk_util::BORDER_RIGHT)); in SetFlipHorizontally()
|
D | simple_message_box_gtk.cc | 23 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, in SetDialogTitle() 69 gtk_util::ApplyMessageDialogQuirks(dialog); in ShowMessageBox() 75 gtk_util::ShowDialog(dialog); in ShowMessageBox() 84 gtk_util::ShowDialog(dialog); in ShowMessageBox()
|
D | validation_message_bubble_gtk.cc | 104 gtk_util::ForceFontSizePixels(label, main_font.GetHeight()); in ConstructContent() 106 GTK_BOX(text_box), gtk_util::LeftAlignMisc(label), TRUE, TRUE, 0); in ConstructContent() 111 gtk_util::ForceFontSizePixels(sub_label, sub_font.GetHeight()); in ConstructContent() 114 gtk_util::SetLabelWidth(sub_label, kTextMaxWidth); in ConstructContent() 116 GTK_BOX(text_box), gtk_util::LeftAlignMisc(sub_label), TRUE, TRUE, 0); in ConstructContent()
|
/external/chromium/chrome/browser/tab_contents/ |
D | web_drag_dest_gtk.cc | 78 gdk_drag_status(context_, gtk_util::WebDragOpToGdkDragAction(operation), in UpdateDragStatus() 127 gtk_util::ClientPoint(widget_), in OnDragMotion() 128 gtk_util::ScreenPoint(widget_), in OnDragMotion() 129 gtk_util::GdkDragActionToWebDragOp(context->actions)); in OnDragMotion() 231 gtk_util::ClientPoint(widget_), in OnDragDataReceived() 232 gtk_util::ScreenPoint(widget_), in OnDragDataReceived() 233 gtk_util::GdkDragActionToWebDragOp(context->actions)); in OnDragDataReceived() 268 DragTargetDrop(gtk_util::ClientPoint(widget_), in OnDragDrop() 269 gtk_util::ScreenPoint(widget_)); in OnDragDrop()
|
/external/chromium/chrome/browser/ |
D | platform_util_common_linux.cc | 34 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, in SetDialogTitle() 88 gtk_util::ApplyMessageDialogQuirks(dialog); in SimpleErrorBox() 92 gtk_util::ShowDialog(dialog); in SimpleErrorBox() 101 gtk_util::ApplyMessageDialogQuirks(dialog); in SimpleYesNoBox() 108 gtk_util::ShowDialog(dialog); in SimpleYesNoBox()
|