/external/chromium/chrome/browser/ui/ |
D | input_window_dialog_gtk.cc | 37 GtkWidget* dialog_; member in InputWindowDialogGtk 52 : dialog_(gtk_dialog_new_with_buttons( in InputWindowDialogGtk() 60 gtk_dialog_set_default_response(GTK_DIALOG(dialog_), GTK_RESPONSE_ACCEPT); in InputWindowDialogGtk() 61 gtk_dialog_set_has_separator(GTK_DIALOG(dialog_), FALSE); in InputWindowDialogGtk() 62 gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE); in InputWindowDialogGtk() 64 GtkWidget* content_area = GTK_DIALOG(dialog_)->vbox; in InputWindowDialogGtk() 82 g_signal_connect(dialog_, "response", in InputWindowDialogGtk() 84 g_signal_connect(dialog_, "delete-event", in InputWindowDialogGtk() 86 g_signal_connect(dialog_, "destroy", in InputWindowDialogGtk() 94 gtk_util::ShowDialog(dialog_); in Show() [all …]
|
/external/chromium/chrome/browser/ui/gtk/ |
D | js_modal_dialog_gtk.cc | 52 : dialog_(dialog) { in JSModalDialogGtk() 58 switch (dialog_->dialog_flags()) { in JSModalDialogGtk() 65 if (dialog_->is_before_unload_dialog()) { in JSModalDialogGtk() 90 WideToUTF8(dialog_->message_text()).c_str()); in JSModalDialogGtk() 93 WideToUTF8(dialog_->title()).c_str()); in JSModalDialogGtk() 97 if (ui::MessageBoxFlags::kIsJavascriptPrompt == dialog_->dialog_flags()) { in JSModalDialogGtk() 102 WideToUTF8(dialog_->default_prompt_text()).c_str()); in JSModalDialogGtk() 108 if (dialog_->display_suppress_checkbox()) { in JSModalDialogGtk() 118 if (dialog_->is_before_unload_dialog()) { in JSModalDialogGtk() 132 if (ui::MessageBoxFlags::kIsJavascriptPrompt != dialog_->dialog_flags()) in JSModalDialogGtk() [all …]
|
D | process_singleton_dialog.cc | 20 dialog_ = gtk_message_dialog_new( in ProcessSingletonDialog() 27 gtk_util::ApplyMessageDialogQuirks(dialog_); in ProcessSingletonDialog() 28 gtk_window_set_title(GTK_WINDOW(dialog_), in ProcessSingletonDialog() 30 gtk_dialog_add_button(GTK_DIALOG(dialog_), GTK_STOCK_QUIT, in ProcessSingletonDialog() 33 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in ProcessSingletonDialog() 35 gtk_widget_show_all(dialog_); in ProcessSingletonDialog() 40 gtk_widget_destroy(dialog_); in OnResponse()
|
D | instant_confirm_dialog_gtk.cc | 30 dialog_ = gtk_dialog_new_with_buttons( in InstantConfirmDialogGtk() 37 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in InstantConfirmDialogGtk() 39 GtkBox* vbox = GTK_BOX(GTK_DIALOG(dialog_)->vbox); in InstantConfirmDialogGtk() 52 GtkWidget* action_area = GTK_DIALOG(dialog_)->action_area; in InstantConfirmDialogGtk() 58 gtk_dialog_set_default_response(GTK_DIALOG(dialog_), GTK_RESPONSE_ACCEPT); in InstantConfirmDialogGtk() 59 gtk_widget_show_all(dialog_); in InstantConfirmDialogGtk() 63 gtk_widget_destroy(dialog_); in ~InstantConfirmDialogGtk()
|
D | html_dialog_gtk.cc | 40 dialog_(NULL) { in HtmlDialogGtk() 87 DCHECK(dialog_); in OnDialogClosed() 95 gtk_widget_destroy(dialog_); in OnDialogClosed() 121 gtk_bindings_activate_event(GTK_OBJECT(dialog_), os_event); in HandleKeyboardEvent() 143 dialog_ = gtk_dialog_new_with_buttons( in InitDialog() 149 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in InitDialog() 152 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), in InitDialog() 164 gtk_widget_show_all(dialog_); in InitDialog() 166 return GTK_WINDOW(dialog_); in InitDialog()
|
D | external_protocol_dialog_gtk.cc | 46 dialog_ = gtk_dialog_new_with_buttons( in ExternalProtocolDialogGtk() 53 gtk_util::AddButtonToDialog(dialog_, in ExternalProtocolDialogGtk() 57 gtk_util::AddButtonToDialog(dialog_, in ExternalProtocolDialogGtk() 98 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), vbox, in ExternalProtocolDialogGtk() 101 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in ExternalProtocolDialogGtk() 103 gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE); in ExternalProtocolDialogGtk() 104 gtk_widget_show_all(dialog_); in ExternalProtocolDialogGtk() 130 gtk_widget_destroy(dialog_); in OnResponse()
|
D | update_recommended_dialog.cc | 26 dialog_ = gtk_dialog_new_with_buttons( in UpdateRecommendedDialog() 36 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in UpdateRecommendedDialog() 44 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), label, in UpdateRecommendedDialog() 47 gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE); in UpdateRecommendedDialog() 49 gtk_widget_show_all(dialog_); in UpdateRecommendedDialog() 56 gtk_widget_destroy(dialog_); in OnResponse()
|
D | crypto_module_password_dialog.cc | 97 GtkWidget* dialog_; member in __anon8a7118070111::CryptoModulePasswordDialog 110 dialog_ = gtk_dialog_new_with_buttons( in CryptoModulePasswordDialog() 115 gtk_dialog_add_button(GTK_DIALOG(dialog_), in CryptoModulePasswordDialog() 118 dialog_, in CryptoModulePasswordDialog() 124 gtk_dialog_set_default_response(GTK_DIALOG(dialog_), GTK_RESPONSE_ACCEPT); in CryptoModulePasswordDialog() 161 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), label, in CryptoModulePasswordDialog() 176 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), password_box, in CryptoModulePasswordDialog() 179 g_signal_connect(dialog_, "response", in CryptoModulePasswordDialog() 181 g_signal_connect(dialog_, "destroy", in CryptoModulePasswordDialog() 186 gtk_util::ShowDialog(dialog_); in Show() [all …]
|
D | hung_renderer_dialog_gtk.cc | 49 GtkDialog* dialog_; member in __anondf3312bc0111::HungRendererDialogGtk 64 : dialog_(NULL), model_(NULL), contents_(NULL) { in HungRendererDialogGtk() 69 dialog_ = GTK_DIALOG(gtk_dialog_new_with_buttons( in Init() 78 gtk_dialog_set_default_response(dialog_, GTK_RESPONSE_OK); in Init() 79 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in Init() 97 GtkWidget* contents_vbox = dialog_->vbox; in Init() 145 DCHECK(hung_contents && dialog_); in ShowForTabContents() 170 gtk_util::ShowDialog(GTK_WIDGET(dialog_)); in ShowForTabContents() 177 gtk_widget_hide(GTK_WIDGET(dialog_)); in EndForTabContents() 206 gtk_widget_destroy(GTK_WIDGET(dialog_)); in OnResponse()
|
D | edit_search_engine_dialog.cc | 87 dialog_ = gtk_dialog_new_with_buttons( in Init() 95 ok_button_ = gtk_dialog_add_button(GTK_DIALOG(dialog_), in Init() 100 gtk_dialog_set_default_response(GTK_DIALOG(dialog_), GTK_RESPONSE_OK); in Init() 164 GtkStyle* dialog_style = gtk_widget_get_style(dialog_); in Init() 179 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), controls, in Init() 204 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox), description_label, in Init() 207 gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog_)->vbox), in Init() 212 gtk_util::ShowDialog(dialog_); in Init() 214 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in Init() 215 g_signal_connect(dialog_, "destroy", G_CALLBACK(OnWindowDestroyThunk), this); in Init() [all …]
|
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() 37 gtk_box_pack_start(GTK_BOX(dialog_), hbox, FALSE, FALSE, 0); in RepostFormWarningGtk() 42 gtk_box_pack_end(GTK_BOX(dialog_), buttonBox, FALSE, TRUE, 0); in RepostFormWarningGtk() 61 return dialog_; in GetWidgetRoot() 73 gtk_widget_destroy(dialog_); in ~RepostFormWarningGtk()
|
D | first_run_dialog.cc | 150 dialog_(NULL), in FirstRunDialog() 253 dialog_ = gtk_dialog_new_with_buttons( in ShowReportingDialog() 258 gtk_util::AddButtonToDialog(dialog_, in ShowReportingDialog() 261 gtk_window_set_deletable(GTK_WINDOW(dialog_), FALSE); in ShowReportingDialog() 263 gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE); in ShowReportingDialog() 265 g_signal_connect(dialog_, "delete-event", in ShowReportingDialog() 268 GtkWidget* content_area = GTK_DIALOG(dialog_)->vbox; in ShowReportingDialog() 295 g_signal_connect(dialog_, "response", in ShowReportingDialog() 297 gtk_widget_show_all(dialog_); in ShowReportingDialog() 398 if (dialog_) in OnResponseDialog() [all …]
|
D | task_manager_gtk.cc | 319 dialog_(NULL), in TaskManagerGtk() 336 gtk_window_remove_accel_group(GTK_WINDOW(dialog_), accel_group_); in ~TaskManagerGtk() 341 g_signal_handler_disconnect(G_OBJECT(dialog_), destroy_handler_id_); in ~TaskManagerGtk() 342 gtk_widget_destroy(dialog_); in ~TaskManagerGtk() 415 gtk_widget_destroy(dialog_); in Close() 430 gtk_util::PresentWindow(instance_->dialog_, 0); in Show() 441 dialog_ = gtk_dialog_new_with_buttons( in Init() 450 gtk_window_set_type_hint(GTK_WINDOW(dialog_), GDK_WINDOW_TYPE_HINT_NORMAL); in Init() 454 gtk_dialog_add_button(GTK_DIALOG(dialog_), in Init() 460 gtk_dialog_add_button(GTK_DIALOG(dialog_), in Init() [all …]
|
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() 94 gtk_box_pack_start(GTK_BOX(dialog_), label, TRUE, TRUE, 0); in Init() 98 gtk_box_pack_start(GTK_BOX(dialog_), notebook_, TRUE, TRUE, 0); in Init() 122 gtk_box_pack_start(GTK_BOX(dialog_), cookie_info_view_, TRUE, TRUE, 0); in Init() 142 gtk_box_pack_start(GTK_BOX(dialog_), infobar_, TRUE, TRUE, 0); in Init() 148 gtk_box_pack_end(GTK_BOX(dialog_), button_box, FALSE, TRUE, 0); in Init() 359 gtk_widget_destroy(dialog_); in ~CollectedCookiesGtk() 363 return dialog_; in GetWidgetRoot()
|
/external/chromium/chrome/browser/ui/gtk/importer/ |
D | import_lock_dialog_gtk.cc | 37 dialog_ = gtk_dialog_new_with_buttons( in ImportLockDialogGtk() 43 gtk_util::AddButtonToDialog(dialog_, in ImportLockDialogGtk() 46 gtk_util::AddButtonToDialog(dialog_, in ImportLockDialogGtk() 50 GtkWidget* content_area = GTK_DIALOG(dialog_)->vbox; in ImportLockDialogGtk() 57 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in ImportLockDialogGtk() 58 gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE); in ImportLockDialogGtk() 59 gtk_widget_show_all(dialog_); in ImportLockDialogGtk() 72 gtk_widget_destroy(dialog_); in OnResponse()
|
D | import_progress_dialog_gtk.cc | 75 dialog_ = gtk_dialog_new_with_buttons( in ImportProgressDialogGtk() 82 importer_host_->set_parent_window(GTK_WINDOW(dialog_)); in ImportProgressDialogGtk() 84 GtkWidget* content_area = GTK_DIALOG(dialog_)->vbox; in ImportProgressDialogGtk() 129 g_signal_connect(dialog_, "response", in ImportProgressDialogGtk() 131 gtk_window_set_resizable(GTK_WINDOW(dialog_), FALSE); in ImportProgressDialogGtk() 143 gtk_widget_hide_all(dialog_); in OnResponse() 149 gtk_widget_show_all(dialog_); in ShowDialog() 153 gtk_widget_destroy(dialog_); in CloseDialog() 154 dialog_ = NULL; in CloseDialog()
|
/external/chromium/chrome/browser/chromeos/ |
D | native_dialog_window.cc | 88 gfx::NativeView dialog_; member in chromeos::NativeDialogHost 111 : dialog_(native_dialog), in NativeDialogHost() 118 const char* title = gtk_window_get_title(GTK_WINDOW(dialog_)); in NativeDialogHost() 122 destroy_signal_id_ = g_signal_connect(dialog_, "destroy", in NativeDialogHost() 156 dialog_ = NULL; in OnDialogDestroy() 164 if (dialog_) { in WindowClosing() 167 g_signal_handler_disconnect(G_OBJECT(dialog_), destroy_signal_id_); in WindowClosing() 168 gtk_dialog_response(GTK_DIALOG(dialog_), GTK_RESPONSE_DELETE_EVENT); in WindowClosing() 197 GtkWidget* default_widget = GetDialogDefaultWidget(GTK_DIALOG(dialog_)); in Init() 200 GtkWidget* focus_widget = gtk_window_get_focus(GTK_WINDOW(dialog_)); in Init() [all …]
|
/external/chromium/chrome/browser/printing/ |
D | print_dialog_gtk.cc | 97 dialog_(NULL), in PrintDialogGtk() 106 if (dialog_) { in ~PrintDialogGtk() 107 gtk_widget_destroy(dialog_); in ~PrintDialogGtk() 108 dialog_ = NULL; in ~PrintDialogGtk() 197 dialog_ = gtk_print_unix_dialog_new(NULL, parent); in ShowDialog() 200 gtk_window_set_modal(GTK_WINDOW(dialog_), TRUE); in ShowDialog() 210 gtk_print_unix_dialog_set_manual_capabilities(GTK_PRINT_UNIX_DIALOG(dialog_), in ShowDialog() 213 gtk_print_unix_dialog_set_embed_page_setup(GTK_PRINT_UNIX_DIALOG(dialog_), in ShowDialog() 216 g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); in ShowDialog() 217 gtk_widget_show(dialog_); in ShowDialog() [all …]
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_editor_gtk.cc | 205 dialog_(NULL), in BookmarkEditorGtk() 226 dialog_ = gtk_dialog_new_with_buttons( in Init() 233 gtk_dialog_set_has_separator(GTK_DIALOG(dialog_), FALSE); in Init() 236 GtkWidget* action_area = GTK_DIALOG(dialog_)->action_area; in Init() 246 gtk_dialog_set_default_response(GTK_DIALOG(dialog_), GTK_RESPONSE_ACCEPT); in Init() 272 GtkWidget* content_area = GTK_DIALOG(dialog_)->vbox; in Init() 362 g_signal_connect(dialog_, "response", in Init() 364 g_signal_connect(dialog_, "delete-event", in Init() 366 g_signal_connect(dialog_, "destroy", in Init() 374 gtk_util::ShowDialog(dialog_); in Show() [all …]
|
/external/chromium/chrome/browser/chromeos/login/ |
D | help_app_launcher.h | 45 bool is_open() const { return dialog_.get() && dialog_->is_open(); } in is_open() 56 scoped_ptr<LoginHtmlDialog> dialog_; variable
|
D | help_app_launcher.cc | 54 dialog_.reset(new LoginHtmlDialog( in ShowHelpTopicDialog() 61 dialog_->Show(); in ShowHelpTopicDialog()
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_folder_editor_controller.cc | 51 dialog_ = InputWindowDialog::Create(wnd, in BookmarkFolderEditorController() 58 dialog_->Show(); in BookmarkFolderEditorController() 76 dialog_->Close(); in BookmarkModelChanged()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | js_modal_dialog_cocoa.mm | 99 : dialog_(dialog), function 108 switch (dialog_->dialog_flags()) { 113 if (dialog_->is_before_unload_dialog()) { 139 dialog_->default_prompt_text())]; 142 [alert_ setInformativeText:base::SysWideToNSString(dialog_->message_text())]; 143 [alert_ setMessageText:base::SysWideToNSString(dialog_->title())]; 149 if (dialog_->display_suppress_checkbox()) {
|
D | js_modal_dialog_cocoa.h | 36 JavaScriptAppModalDialog* dialog() const { return dialog_.get(); } in dialog() 39 scoped_ptr<JavaScriptAppModalDialog> dialog_;
|
/external/chromium/chrome/browser/extensions/ |
D | extension_file_browser_private_api.h | 91 dialog_(dialog), in Callback() 95 HtmlDialogView* dialog() const { return dialog_; } in dialog() 110 HtmlDialogView* dialog_; variable
|