/external/chromium/chrome/browser/ui/gtk/ |
D | dialogs_gtk.cc | 59 void FileSelected(GtkWidget* dialog, const FilePath& path); 62 void MultiFilesSelected(GtkWidget* dialog, 68 void FileNotSelected(GtkWidget* dialog); 84 void* PopParamsForDialog(GtkWidget* dialog); 87 void FileDialogDestroyed(GtkWidget* dialog); 95 void SelectSingleFileHelper(GtkWidget* dialog, 217 GtkWidget* dialog = NULL; in SelectFileImpl() local 220 dialog = CreateSelectFolderDialog(title_string, default_path, in SelectFileImpl() 224 dialog = CreateFileOpenDialog(title_string, default_path, owning_window); in SelectFileImpl() 227 dialog = CreateMultiFileOpenDialog(title_string, default_path, in SelectFileImpl() [all …]
|
/external/chromium_org/ui/shell_dialogs/gtk/ |
D | select_file_dialog_impl_gtk.cc | 67 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 70 void MultiFilesSelected(GtkWidget* dialog, 76 void FileNotSelected(GtkWidget* dialog); 95 void* PopParamsForDialog(GtkWidget* dialog); 98 void FileDialogDestroyed(GtkWidget* dialog); 106 void SelectSingleFileHelper(GtkWidget* dialog, 194 GtkWidget* dialog = NULL; in SelectFileImpl() local 198 dialog = CreateSelectFolderDialog(type, title_string, default_path, in SelectFileImpl() 202 dialog = CreateFileOpenDialog(title_string, default_path, owning_window); in SelectFileImpl() 205 dialog = CreateMultiFileOpenDialog(title_string, default_path, in SelectFileImpl() [all …]
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | select_file_dialog_impl_gtk2.cc | 37 void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent) { in SetGtkTransientForAura() argument 38 gtk_widget_realize(dialog); in SetGtkTransientForAura() 39 GdkWindow* gdk_window = gtk_widget_get_window(dialog); in SetGtkTransientForAura() 49 g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, parent); in SetGtkTransientForAura() 100 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 103 void MultiFilesSelected(GtkWidget* dialog, 109 void FileNotSelected(GtkWidget* dialog); 128 void* PopParamsForDialog(GtkWidget* dialog); 131 void FileDialogDestroyed(GtkWidget* dialog); 139 void SelectSingleFileHelper(GtkWidget* dialog, [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | DialogTest.java | 28 final Dialog dialog = new Dialog(null); in shouldCallOnDismissListener() local 29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { in shouldCallOnDismissListener() 32 assertThat((Dialog) dialogInListener, sameInstance(dialog)); in shouldCallOnDismissListener() 37 dialog.dismiss(); in shouldCallOnDismissListener() 44 Dialog dialog = new Dialog(Robolectric.application); in shouldGetLayoutInflater() local 45 assertNotNull(dialog.getLayoutInflater()); in shouldGetLayoutInflater() 50 TestDialog dialog = new TestDialog(); in shouldCallOnStartFromShow() local 51 dialog.show(); in shouldCallOnStartFromShow() 53 assertTrue(dialog.onStartCalled); in shouldCallOnStartFromShow() 58 Dialog dialog = new Dialog(null); in shouldSetCancelable() local [all …]
|
D | ProgressDialogTest.java | 29 private ProgressDialog dialog; field in ProgressDialogTest 34 dialog = new ProgressDialog(null); in setUp() 35 shadow = Robolectric.shadowOf(dialog); in setUp() 48 dialog.setMessage(message); in shouldSetMessage() 54 assertThat(dialog.isIndeterminate(), equalTo(false)); in shouldSetIndeterminate() 56 dialog.setIndeterminate(true); in shouldSetIndeterminate() 57 assertThat(dialog.isIndeterminate(), equalTo(true)); in shouldSetIndeterminate() 59 dialog.setIndeterminate(false); in shouldSetIndeterminate() 60 assertThat(dialog.isIndeterminate(), equalTo(false)); in shouldSetIndeterminate() 113 public void onCancel(DialogInterface dialog) { in show_setsLatestAlertDialogAndLatestDialog_6args() [all …]
|
D | DialogFragmentTest.java | 81 Dialog dialog = ShadowDialog.getLatestDialog(); in show_shouldShowDialogThatWasReturnedFromOnCreateDialog_whenOnCreateDialogReturnsADialog() local 82 assertSame(dialogFromOnCreateDialog, dialog); in show_shouldShowDialogThatWasReturnedFromOnCreateDialog_whenOnCreateDialogReturnsADialog() 91 Dialog dialog = ShadowDialog.getLatestDialog(); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull() local 92 assertNotNull(dialog); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull() 93 assertSame(dialog, dialogFragment.getDialog()); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull() 94 assertNotNull(dialog.findViewById(R.id.title)); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull() 104 Dialog dialog = ShadowDialog.getLatestDialog(); in dismiss_shouldDismissTheDialog() local 105 assertFalse(dialog.isShowing()); in dismiss_shouldDismissTheDialog() 106 assertTrue(shadowOf(dialog).hasBeenDismissed()); in dismiss_shouldDismissTheDialog() 117 Dialog dialog = ShadowDialog.getLatestDialog(); in removeUsingTransaction_shouldDismissTheDialog() local [all …]
|
/external/chromium/chrome/browser/ui/app_modal_dialogs/ |
D | app_modal_dialog_queue.cc | 9 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) { in AddDialog() argument 11 ShowModalDialog(dialog); in AddDialog() 14 app_modal_dialog_queue_.push(dialog); in AddDialog() 18 AppModalDialog* dialog = GetNextDialog(); in ShowNextDialog() local 19 if (dialog) in ShowNextDialog() 20 ShowModalDialog(dialog); in ShowNextDialog() 48 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) { in ShowModalDialog() argument 54 active_dialog_ = dialog; in ShowModalDialog() 56 dialog->ShowModalDialog(); in ShowModalDialog() 62 AppModalDialog* dialog = app_modal_dialog_queue_.front(); in GetNextDialog() local [all …]
|
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/ |
D | app_modal_dialog_queue.cc | 15 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) { in AddDialog() argument 17 ShowModalDialog(dialog); in AddDialog() 20 app_modal_dialog_queue_.push_back(dialog); in AddDialog() 24 AppModalDialog* dialog = GetNextDialog(); in ShowNextDialog() local 25 if (dialog) in ShowNextDialog() 26 ShowModalDialog(dialog); in ShowNextDialog() 55 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) { in ShowModalDialog() argument 61 active_dialog_ = dialog; in ShowModalDialog() 63 dialog->ShowModalDialog(); in ShowModalDialog() 69 AppModalDialog* dialog = app_modal_dialog_queue_.front(); in GetNextDialog() local [all …]
|
/external/chromium_org/components/web_modal/ |
D | web_contents_modal_dialog_manager.cc | 33 NativeWebContentsModalDialog dialog) { in ShowDialog() argument 34 child_dialogs_.push_back(DialogState(dialog)); in ShowDialog() 36 native_manager_->ManageDialog(dialog); in ShowDialog() 40 native_manager_->ShowDialog(dialog); in ShowDialog() 51 native_manager_->FocusDialog(child_dialogs_.front().dialog); in FocusTopmostDialog() 55 NativeWebContentsModalDialog dialog, in SetCloseOnInterstitialPage() argument 57 WebContentsModalDialogList::iterator loc = FindDialogState(dialog); in SetCloseOnInterstitialPage() 67 NativeWebContentsModalDialog dialog) { in WillClose() argument 68 WebContentsModalDialogList::iterator i = FindDialogState(dialog); in WillClose() 79 native_manager_->ShowDialog(child_dialogs_.front().dialog); in WillClose() [all …]
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | simple_message_box_gtk.cc | 13 void SetDialogTitle(GtkWidget* dialog, const base::string16& title) { in SetDialogTitle() argument 14 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); in SetDialogTitle() 17 gtk_widget_realize(dialog); in SetDialogTitle() 21 gtk_widget_size_request(dialog, &req); in SetDialogTitle() 23 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, in SetDialogTitle() 31 gtk_widget_set_size_request(dialog, width, -1); in SetDialogTitle() 63 GtkWidget* dialog = gtk_message_dialog_new(parent, in ShowMessageBox() local 69 gtk_util::ApplyMessageDialogQuirks(dialog); in ShowMessageBox() 70 SetDialogTitle(dialog, title); in ShowMessageBox() 73 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_YES); in ShowMessageBox() [all …]
|
D | web_contents_modal_dialog_manager_gtk.cc | 33 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { in ManageDialog() argument 34 DCHECK(g_object_is_floating(GetGtkWidget(dialog))); in ManageDialog() 35 g_object_ref_sink(GetGtkWidget(dialog)); in ManageDialog() 37 g_signal_connect(GetGtkWidget(dialog), "hierarchy-changed", in ManageDialog() 39 g_signal_connect(GetGtkWidget(dialog), in ManageDialog() 45 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { in ShowDialog() argument 46 GtkWidget* widget = GetGtkWidget(dialog); in ShowDialog() 62 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE { in HideDialog() argument 63 gtk_widget_hide(GetGtkWidget(dialog)); in HideDialog() 66 virtual void CloseDialog(NativeWebContentsModalDialog dialog) OVERRIDE { in CloseDialog() argument [all …]
|
D | chrome_browser_main_extra_parts_gtk.cc | 42 GtkWidget* dialog = gtk_message_dialog_new( in DetectRunningAsRoot() local 54 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), in DetectRunningAsRoot() 59 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str()); in DetectRunningAsRoot() 61 gtk_dialog_run(GTK_DIALOG(dialog)); in DetectRunningAsRoot() 62 gtk_widget_destroy(dialog); in DetectRunningAsRoot() 69 GtkWidget* dialog = gtk_message_dialog_new( in ShowMessageBox() local 77 gtk_window_set_title(GTK_WINDOW(dialog), message); in ShowMessageBox() 78 gtk_dialog_run(GTK_DIALOG(dialog)); in ShowMessageBox() 79 gtk_widget_destroy(dialog); in ShowMessageBox()
|
/external/chromium_org/ui/views/window/ |
D | dialog_delegate_unittest.cc | 105 TestDialog* dialog() const { return dialog_; } in dialog() function in views::__anon56c024030111::DialogTest 116 DialogClientView* client_view = dialog()->GetDialogClientView(); in TEST_F() 120 EXPECT_EQ(ui::DIALOG_BUTTON_OK, dialog()->GetDefaultDialogButton()); in TEST_F() 121 dialog()->PressEnterAndCheckStates(ok_button); in TEST_F() 124 LabelButton* button_1 = new LabelButton(dialog(), string16()); in TEST_F() 128 dialog()->PressEnterAndCheckStates(button_1); in TEST_F() 135 dialog()->PressEnterAndCheckStates(ok_button); in TEST_F() 138 LabelButton* button_2 = new LabelButton(dialog(), string16()); in TEST_F() 143 dialog()->PressEnterAndCheckStates(button_2); in TEST_F() 149 dialog()->PressEnterAndCheckStates(ok_button); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
D | media_galleries_dialog_gtk_unittest.cc | 75 MediaGalleriesDialogGtk dialog(&controller); in TEST_F() local 76 EXPECT_EQ(2U, dialog.checkbox_map_.size()); in TEST_F() 78 GtkWidget* checkbox1 = dialog.checkbox_map_[1]; in TEST_F() 82 GtkWidget* checkbox2 = dialog.checkbox_map_[2]; in TEST_F() 103 MediaGalleriesDialogGtk dialog(&controller); in TEST_F() local 104 EXPECT_EQ(1U, dialog.checkbox_map_.size()); in TEST_F() 106 dialog.checkbox_map_[1]; in TEST_F() 131 MediaGalleriesDialogGtk dialog(&controller); in TEST_F() local 133 EXPECT_TRUE(dialog.checkbox_map_.empty()); in TEST_F() 138 dialog.UpdateGalleries(); in TEST_F() [all …]
|
/external/openssh/contrib/ |
D | gnome-ssh-askpass1.c | 73 GtkWidget *dialog, *entry, *label; in passphrase_dialog() local 78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, in passphrase_dialog() 85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog() 90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, in passphrase_dialog() 96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); in passphrase_dialog() 97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); in passphrase_dialog() 98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); in passphrase_dialog() 99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); in passphrase_dialog() 100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); in passphrase_dialog() 101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog() [all …]
|
D | gnome-ssh-askpass2.c | 80 ok_dialog(GtkWidget *entry, gpointer dialog) in ok_dialog() argument 82 g_return_if_fail(GTK_IS_DIALOG(dialog)); in ok_dialog() 83 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); in ok_dialog() 92 GtkWidget *dialog, *entry; in passphrase_dialog() local 99 dialog = gtk_message_dialog_new(NULL, 0, in passphrase_dialog() 106 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), entry, FALSE, in passphrase_dialog() 112 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH"); in passphrase_dialog() 113 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); in passphrase_dialog() 114 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE); in passphrase_dialog() 115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog))->label), in passphrase_dialog() [all …]
|
/external/chromium/chrome/browser/ |
D | platform_util_common_linux.cc | 21 void SetDialogTitle(GtkWidget* dialog, const string16& title) { in SetDialogTitle() argument 22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); in SetDialogTitle() 28 gtk_widget_realize(dialog); in SetDialogTitle() 32 gtk_widget_size_request(dialog, &req); in SetDialogTitle() 34 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, in SetDialogTitle() 42 gtk_widget_set_size_request(dialog, width, -1); in SetDialogTitle() 86 GtkWidget* dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL, in SimpleErrorBox() local 88 gtk_util::ApplyMessageDialogQuirks(dialog); in SimpleErrorBox() 89 SetDialogTitle(dialog, title); in SimpleErrorBox() 91 g_signal_connect(dialog, "response", G_CALLBACK(gtk_widget_destroy), NULL); in SimpleErrorBox() [all …]
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | autofill_dialog_views_unittest.cc | 89 TestAutofillDialogViews* dialog() { return dialog_.get(); } in dialog() function in autofill::AutofillDialogViewsTest 93 dialog()->GetLoadingShieldForTesting()->SetFocusable(true); in SetSectionsFocusable() 96 dialog()->GetNotificationAreaForTesting()->SetFocusable(true); in SetSectionsFocusable() 97 dialog()->GetScrollableAreaForTesting()->SetFocusable(true); in SetSectionsFocusable() 112 views::FocusManager* focus_manager = dialog()->GetWidget()->GetFocusManager(); in TEST_F() 121 views::View* loading_shield = dialog()->GetLoadingShieldForTesting(); in TEST_F() 122 views::View* sign_in_web_view = dialog()->GetSignInWebViewForTesting(); in TEST_F() 123 views::View* notification_area = dialog()->GetNotificationAreaForTesting(); in TEST_F() 124 views::View* scrollable_area = dialog()->GetScrollableAreaForTesting(); in TEST_F() 126 dialog()->ShowSignIn(); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | media_galleries_dialog_cocoa_unittest.mm | 75 scoped_ptr<MediaGalleriesDialogCocoa> dialog( 78 EXPECT_EQ(2U, [dialog->checkboxes_ count]); 80 NSButton* checkbox1 = [dialog->checkboxes_ objectAtIndex:0]; 83 NSButton* checkbox2 = [dialog->checkboxes_ objectAtIndex:1]; 103 scoped_ptr<MediaGalleriesDialogCocoa> dialog( 106 EXPECT_EQ(1U, [dialog->checkboxes_ count]); 108 NSButton* checkbox = [dialog->checkboxes_ objectAtIndex:0]; 121 // a gallery that the dialog hasn't seen before. 134 scoped_ptr<MediaGalleriesDialogCocoa> dialog( 138 EXPECT_EQ(0U, [dialog->checkboxes_ count]); [all …]
|
/external/chromium_org/chrome/browser/ui/views/ |
D | select_file_dialog_extension.cc | 55 scoped_refptr<SelectFileDialogExtension> dialog); 73 scoped_refptr<SelectFileDialogExtension> dialog) { in Add() argument 74 DCHECK(dialog.get()); in Add() 76 map_.insert(std::make_pair(id, dialog)); in Add() 156 ExtensionDialog* dialog) { in ExtensionTerminated() argument 159 std::string extension_id = dialog->host()->extension()->id(); in ExtensionTerminated() 179 dialog->GetWidget()->Close(); in ExtensionTerminated() 187 scoped_refptr<SelectFileDialogExtension> dialog = in OnFileSelected() local 189 if (!dialog.get()) in OnFileSelected() 191 dialog->selection_type_ = SINGLE_FILE; in OnFileSelected() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | web_contents_modal_dialog_manager_cocoa.mm | 24 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 27 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 28 GetConstrainedWindowMac(dialog)->ShowWebContentsModalDialog(); 31 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 34 virtual void CloseDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 35 GetConstrainedWindowMac(dialog)->CloseWebContentsModalDialog(); 38 virtual void FocusDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 39 GetConstrainedWindowMac(dialog)->FocusWebContentsModalDialog(); 42 virtual void PulseDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 43 GetConstrainedWindowMac(dialog)->PulseWebContentsModalDialog(); [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowDialogFragment.java | 23 private Dialog dialog; field in ShadowDialogFragment 44 dialog = realDialogFragment.onCreateDialog(null); in show() 46 if (dialog == null) { in show() 47 dialog = new Dialog(activityFromManager); in show() 48 dialog.setContentView(view); in show() 50 dialog.setCancelable(cancelable); in show() 62 if (dialog != null) { in onStart() 63 dialog.show(); in onStart() 69 if (dialog != null) { in dismiss() 70 dialog.dismiss(); in dismiss() [all …]
|
/external/chromium_org/ui/webui/resources/css/ |
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-text { [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | DialogFilter.java | 295 SIPDialog dialog = sipStack.getDialog(dialogId); in processRequest() local 301 if (dialog != null && sipProvider != dialog.getSipProvider()) { in processRequest() 302 Contact contact = dialog.getMyContactHeader(); in processRequest() 328 dialog = null; in processRequest() 356 sipStack.getStackLogger().logDebug("dialog = " + dialog); in processRequest() 392 if (sipRequest.getMethod().equals(Request.REFER) && dialog != null in processRequest() 410 SIPTransaction lastTransaction = ((SIPDialog) dialog).getLastTransaction(); in processRequest() 414 if (!((SIPDialog) dialog).isAckSeen() in processRequest() 422 if (method.equals(Request.INVITE) && !dialog.isAckSent(cseqno)) { in processRequest() 435 if (sipProvider.isAutomaticDialogSupportEnabled() && dialog == null) { in processRequest() [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/first_run/app/ |
D | style.css | 12 .step.dialog { 22 .step.dialog h1 { 28 .step.dialog p { 33 .step.dialog .controls { 39 .step.dialog .controls .margin-top { 43 .step.dialog .controls .margin-bottom { 47 .step.dialog .controls button { 54 .step.dialog .window-header { 63 .step.dialog .topbutton-bar { 68 .step.dialog .topbutton-wrapper { [all …]
|