/external/chromium/chrome/browser/ui/app_modal_dialogs/ |
H A D | app_modal_dialog_queue.cc | 9 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) { argument 11 ShowModalDialog(dialog); 14 app_modal_dialog_queue_.push(dialog); 18 AppModalDialog* dialog = GetNextDialog(); local 19 if (dialog) 20 ShowModalDialog(dialog); 27 // As part of showing a modal dialog we may end up back in this method 28 // (showing a dialog activates the TabContents, which can trigger a call 30 // activate the tab contents the dialog is shown. 48 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) { argument 62 AppModalDialog* dialog = app_modal_dialog_queue_.front(); local [all...] |
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/ |
H A D | app_modal_dialog_queue.cc | 15 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) { argument 17 ShowModalDialog(dialog); 20 app_modal_dialog_queue_.push_back(dialog); 24 AppModalDialog* dialog = GetNextDialog(); local 25 if (dialog) 26 ShowModalDialog(dialog); 33 // As part of showing a modal dialog we may end up back in this method 34 // (showing a dialog activates the WebContents, which can trigger a call 36 // activate the tab contents the dialog is shown. 55 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) { argument 69 AppModalDialog* dialog = app_modal_dialog_queue_.front(); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowPreferenceScreen.java | 12 private Dialog dialog; field in class:ShadowPreferenceScreen 16 return dialog; 19 public void setDialog(Dialog dialog) { argument 20 this.dialog = dialog;
|
H A D | ShadowDialogFragment.java | 23 private Dialog dialog; field in class:ShadowDialogFragment 44 dialog = realDialogFragment.onCreateDialog(null); 46 if (dialog == null) { 47 dialog = new Dialog(activityFromManager); 48 dialog.setContentView(view); 50 dialog.setCancelable(cancelable); 62 if (dialog != null) { 63 dialog.show(); 69 if (dialog != null) { 70 dialog [all...] |
/external/nist-sip/java/javax/sip/ |
H A D | DialogTerminatedEvent.java | 8 public DialogTerminatedEvent(Object source, Dialog dialog) { argument 10 mDialog = dialog;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | simple_message_box_gtk.cc | 13 void SetDialogTitle(GtkWidget* dialog, const string16& title) { argument 14 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); 16 // The following code requires the dialog to be realized. 17 gtk_widget_realize(dialog); 21 gtk_widget_size_request(dialog, &req); 23 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, 31 gtk_widget_set_size_request(dialog, width, -1); 63 GtkWidget* dialog = gtk_message_dialog_new(parent, local 69 gtk_util::ApplyMessageDialogQuirks(dialog); 70 SetDialogTitle(dialog, titl [all...] |
H A D | web_contents_modal_dialog_manager_gtk.cc | 17 // Web contents modal dialog manager implementation for the GTK port. Unlike the 19 // instead just centers the dialog. It is thus an order of magnitude simpler. 33 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 34 DCHECK(g_object_is_floating(GetGtkWidget(dialog))); 35 g_object_ref_sink(GetGtkWidget(dialog)); 37 g_signal_connect(GetGtkWidget(dialog), "hierarchy-changed", 39 g_signal_connect(GetGtkWidget(dialog), 45 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 46 GtkWidget* widget = GetGtkWidget(dialog); 62 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRID 92 GetGtkWidget(NativeWebContentsModalDialog dialog) argument [all...] |
H A D | chrome_browser_main_extra_parts_gtk.cc | 42 GtkWidget* dialog = gtk_message_dialog_new( local 54 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 59 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str()); 61 gtk_dialog_run(GTK_DIALOG(dialog)); 62 gtk_widget_destroy(dialog); 69 GtkWidget* dialog = gtk_message_dialog_new( local 77 gtk_window_set_title(GTK_WINDOW(dialog), message); 78 gtk_dialog_run(GTK_DIALOG(dialog)); 79 gtk_widget_destroy(dialog);
|
/external/chromium_org/components/web_modal/ |
H A D | native_web_contents_modal_dialog_manager.h | 24 virtual void WillClose(NativeWebContentsModalDialog dialog) = 0; 31 // contents modal dialog. 36 // Starts management of the modal aspects of the dialog. This function should 37 // also register to be notified when the dialog is closing, so that it can 39 virtual void ManageDialog(NativeWebContentsModalDialog dialog) = 0; 41 // Makes the web contents modal dialog visible. Only one web contents modal 42 // dialog is shown at a time per tab. 43 virtual void ShowDialog(NativeWebContentsModalDialog dialog) = 0; 45 // Hides the web contents modal dialog without closing it. 46 virtual void HideDialog(NativeWebContentsModalDialog dialog) [all...] |
H A D | web_contents_modal_dialog_manager_unittest.cc | 30 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 32 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 34 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 36 virtual void CloseDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 37 delegate_->WillClose(dialog); 40 virtual void FocusDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 42 virtual void PulseDialog(NativeWebContentsModalDialog dialog) OVERRIDE {
|
/external/openssh/contrib/ |
H A D | gnome-ssh-askpass1.c | 73 GtkWidget *dialog, *entry, *label; local 78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, 85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), 90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, 96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); 97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); 98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); 99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); 100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); 101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog) [all...] |
H A D | gnome-ssh-askpass2.c | 80 ok_dialog(GtkWidget *entry, gpointer dialog) argument 82 g_return_if_fail(GTK_IS_DIALOG(dialog)); 83 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); 92 GtkWidget *dialog, *entry; local 99 dialog = gtk_message_dialog_new(NULL, 0, 106 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), entry, FALSE, 112 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH"); 113 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); 114 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE); 115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog)) 121 G_CALLBACK(ok_dialog), dialog); local [all...] |
/external/chromium/chrome/browser/ |
H A D | platform_util_common_linux.cc | 21 void SetDialogTitle(GtkWidget* dialog, const string16& title) { argument 22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); 25 // The following code requires the dialog to be realized. However, we host 26 // dialog's content in a Chrome window without really realize the dialog 28 gtk_widget_realize(dialog); 32 gtk_widget_size_request(dialog, &req); 34 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, 42 gtk_widget_set_size_request(dialog, width, -1); 86 GtkWidget* dialog local 98 GtkWidget* dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL, local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
H A D | record_selection_dialog.css | 6 .record-selection-dialog { 11 .record-selection-dialog .default-enabled-categories { 15 .record-selection-dialog .default-disabled-categories { 21 .record-selection-dialog .categories { 26 .record-selection-dialog form { 34 .record-selection-dialog .options { 40 .record-selection-dialog td { 44 .record-selection-dialog .options label {
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | select_file_dialog_impl_gtk2.cc | 35 // Set |dialog| as transient for |parent|, which will keep it on top and center 37 void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent) { argument 38 gtk_widget_realize(dialog); 39 GdkWindow* gdk_window = gtk_widget_get_window(dialog); 47 // We also set the |parent| as a property of |dialog|, so that we can unlink 49 g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, parent); 67 // Implementation of SelectFileDialog that shows a Gtk common dialog for 68 // choosing a file or folder. This acts as a modal dialog. 100 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 103 void MultiFilesSelected(GtkWidget* dialog, 240 GtkWidget* dialog = NULL; local 336 FileSelected(GtkWidget* dialog, const base::FilePath& path) argument 356 MultiFilesSelected(GtkWidget* dialog, const std::vector<base::FilePath>& files) argument 365 FileNotSelected(GtkWidget* dialog) argument 376 GtkWidget* dialog = local 417 GtkWidget* dialog = local 446 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 460 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 472 GtkWidget* dialog = local 501 PopParamsForDialog(GtkWidget* dialog) argument 509 FileDialogDestroyed(GtkWidget* dialog) argument 540 SelectSingleFileHelper(GtkWidget* dialog, gint response_id, bool allow_folder) argument 568 OnSelectSingleFileDialogResponse( GtkWidget* dialog, int response_id) argument 573 OnSelectSingleFolderDialogResponse( GtkWidget* dialog, int response_id) argument 578 OnSelectMultiFileDialogResponse(GtkWidget* dialog, int response_id) argument 608 OnFileChooserDestroy(GtkWidget* dialog) argument [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | DialogTest.java | 28 final Dialog dialog = new Dialog(null); 29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 32 assertThat((Dialog) dialogInListener, sameInstance(dialog)); 37 dialog.dismiss(); 44 Dialog dialog = new Dialog(Robolectric.application); 45 assertNotNull(dialog.getLayoutInflater()); 50 TestDialog dialog = new TestDialog(); 51 dialog.show(); 53 assertTrue(dialog.onStartCalled); 58 Dialog dialog [all...] |
H A D | ProgressDialogTest.java | 29 private ProgressDialog dialog; field in class:ProgressDialogTest 34 dialog = new ProgressDialog(null); 35 shadow = Robolectric.shadowOf(dialog); 48 dialog.setMessage(message); 54 assertThat(dialog.isIndeterminate(), equalTo(false)); 56 dialog.setIndeterminate(true); 57 assertThat(dialog.isIndeterminate(), equalTo(true)); 59 dialog.setIndeterminate(false); 60 assertThat(dialog.isIndeterminate(), equalTo(false)); 113 public void onCancel(DialogInterface dialog) { [all...] |
/external/chromium_org/ui/shell_dialogs/gtk/ |
H A D | select_file_dialog_impl_gtk.cc | 38 // Implementation of SelectFileDialog that shows a Gtk common dialog for 39 // choosing a file or folder. This acts as a modal dialog. 67 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 70 void MultiFilesSelected(GtkWidget* dialog, 75 // us when we were told to show the dialog. 76 void FileNotSelected(GtkWidget* dialog); 93 // Removes and returns the |params| associated with |dialog| from 95 void* PopParamsForDialog(GtkWidget* dialog); 97 // Take care of internal data structures when a file dialog is destroyed. 98 void FileDialogDestroyed(GtkWidget* dialog); 194 GtkWidget* dialog = NULL; local 292 FileSelected(GtkWidget* dialog, const base::FilePath& path) argument 312 MultiFilesSelected(GtkWidget* dialog, const std::vector<base::FilePath>& files) argument 321 FileNotSelected(GtkWidget* dialog) argument 332 GtkWidget* dialog = local 372 GtkWidget* dialog = local 400 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 414 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 426 GtkWidget* dialog = local 460 PopParamsForDialog(GtkWidget* dialog) argument 468 FileDialogDestroyed(GtkWidget* dialog) argument 496 SelectSingleFileHelper(GtkWidget* dialog, gint response_id, bool allow_folder) argument 524 OnSelectSingleFileDialogResponse( GtkWidget* dialog, int response_id) argument 529 OnSelectSingleFolderDialogResponse( GtkWidget* dialog, int response_id) argument 534 OnSelectMultiFileDialogResponse(GtkWidget* dialog, int response_id) argument 564 OnFileChooserDestroy(GtkWidget* dialog) argument [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | dialogs_gtk.cc | 26 // the dialog, but usually not the height). The image's aspect ratio will always 31 // Implementation of SelectFileDialog that shows a Gtk common dialog for 32 // choosing a file or folder. This acts as a modal dialog. 59 void FileSelected(GtkWidget* dialog, const FilePath& path); 62 void MultiFilesSelected(GtkWidget* dialog, 67 // us when we were told to show the dialog. 68 void FileNotSelected(GtkWidget* dialog); 82 // Removes and returns the |params| associated with |dialog| from 84 void* PopParamsForDialog(GtkWidget* dialog); 86 // Take care of internal data structures when a file dialog i 217 GtkWidget* dialog = NULL; local 307 FileSelected(GtkWidget* dialog, const FilePath& path) argument 327 MultiFilesSelected(GtkWidget* dialog, const std::vector<FilePath>& files) argument 336 FileNotSelected(GtkWidget* dialog) argument 352 GtkWidget* dialog = local 384 GtkWidget* dialog = local 410 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 423 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 435 GtkWidget* dialog = local 463 PopParamsForDialog(GtkWidget* dialog) argument 471 FileDialogDestroyed(GtkWidget* dialog) argument 499 SelectSingleFileHelper(GtkWidget* dialog, gint response_id, bool allow_folder) argument 527 OnSelectSingleFileDialogResponse(GtkWidget* dialog, int response_id) argument 532 OnSelectSingleFolderDialogResponse(GtkWidget* dialog, int response_id) argument 537 OnSelectMultiFileDialogResponse(GtkWidget* dialog, int response_id) argument 567 OnFileChooserDestroy(GtkWidget* dialog) argument [all...] |
/external/chromium/chrome/browser/ui/gtk/download/ |
H A D | download_in_progress_dialog_gtk.cc | 56 GtkWidget* dialog = gtk_message_dialog_new( local 63 gtk_util::AddButtonToDialog(dialog, 66 gtk_util::AddButtonToDialog(dialog, 70 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 74 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this); 76 gtk_widget_show_all(dialog); 79 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog, argument 81 gtk_widget_destroy(dialog);
|
/external/chromium_org/ui/views/window/ |
H A D | dialog_delegate_unittest.cc | 82 // Prevent the dialog from closing, for repeated ok and cancel button clicks. 106 TestDialog* dialog() const { return dialog_; } function in class:views::__anon14584::DialogTest 117 DialogClientView* client_view = dialog()->GetDialogClientView(); 122 EXPECT_EQ(ui::DIALOG_BUTTON_OK, dialog()->GetDefaultDialogButton()); 123 dialog()->PressEnterAndCheckStates(ok_button); 125 // Focus another button in the dialog, it should become the default. 126 LabelButton* button_1 = new LabelButton(dialog(), string16()); 130 dialog()->PressEnterAndCheckStates(button_1); 137 dialog()->PressEnterAndCheckStates(ok_button); 139 // Focus yet another button in the dialog, i [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
H A D | select_file_dialog_extension_unittest.cc | 25 SelectFileDialogExtension* dialog = new SelectFileDialogExtension(listener, local 27 // Simulate the dialog opening. 29 dialog->AddPending(kDefaultTabId); 31 return dialog; 62 // Client of a SelectFileDialog that deletes itself whenever the dialog 75 SelectFileDialogExtension* dialog() const { return dialog_.get(); } function in class:SelfDeletingClient 91 scoped_refptr<SelectFileDialogExtension> dialog = local 96 // Simulate closing the dialog so the listener gets invoked. 97 dialog->ExtensionDialogClosing(NULL); 104 scoped_refptr<SelectFileDialogExtension> dialog local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/bookmarks/basic/ |
H A D | popup.js | 56 $('#deletedialog').empty().dialog({ 70 $(this).dialog('destroy'); 73 $(this).dialog('destroy'); 76 }).dialog('open'); 79 $('#adddialog').empty().append(edit).dialog({autoOpen: false, 86 $(this).dialog('destroy'); 90 $(this).dialog('destroy'); 92 }}).dialog('open'); 96 $('#editdialog').empty().append(edit).dialog({autoOpen: false, 105 $(this).dialog('destro [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/example_zipper/basic/ |
H A D | popup.js | 56 $('#deletedialog').empty().dialog({ 70 $(this).dialog('destroy'); 73 $(this).dialog('destroy'); 76 }).dialog('open'); 79 $('#adddialog').empty().append(edit).dialog({autoOpen: false, 86 $(this).dialog('destroy'); 90 $(this).dialog('destroy'); 92 }}).dialog('open'); 96 $('#editdialog').empty().append(edit).dialog({autoOpen: false, 105 $(this).dialog('destro [all...] |
/external/chromium_org/ui/webui/resources/css/ |
H A D | dialogs.css | 5 .cr-dialog-container { 20 .cr-dialog-frame { 35 .cr-dialog-frame:focus { 54 .cr-dialog-frame.pulse { 61 .shown > .cr-dialog-frame { 67 .cr-dialog-frame { 75 .cr-dialog-shield { 88 .shown > .cr-dialog-shield { 97 .cr-dialog-title { 107 .cr-dialog [all...] |