Home | History | Annotate | Download | only in gtk

Lines Matching refs:dialog

21 // after dialog creation.
25 // If there's a text entry in the dialog, get the text from the first one and
27 string16 GetPromptText(GtkDialog* dialog) {
29 g_object_get_data(G_OBJECT(dialog), kPromptTextId));
35 // If there's a toggle button in the dialog, return the toggled state.
37 bool ShouldSuppressJSDialogs(GtkDialog* dialog) {
39 g_object_get_data(G_OBJECT(dialog), kSuppressCheckboxId));
51 JavaScriptAppModalDialog* dialog,
53 : dialog_(dialog) {
199 void JavaScriptAppModalDialogGtk::OnResponse(GtkWidget* dialog,
205 dialog_->OnAccept(GetPromptText(GTK_DIALOG(dialog)),
206 ShouldSuppressJSDialogs(GTK_DIALOG(dialog)));
210 case GTK_RESPONSE_DELETE_EVENT: // User hit the X on the dialog.
211 dialog_->OnCancel(ShouldSuppressJSDialogs(GTK_DIALOG(dialog)));
217 gtk_widget_destroy(dialog);
219 // Now that the dialog is gone, we can put all the windows into separate
230 JavaScriptAppModalDialog* dialog,
232 return new JavaScriptAppModalDialogGtk(dialog, parent_window);