Lines Matching refs:dialog
26 SelectFileDialogExtension* dialog = new SelectFileDialogExtension(listener,
28 // Simulate the dialog opening.
30 dialog->AddPending(kDefaultRoutingID);
32 return dialog;
63 // Client of a SelectFileDialog that deletes itself whenever the dialog
76 SelectFileDialogExtension* dialog() const { return dialog_.get(); }
92 scoped_refptr<SelectFileDialogExtension> dialog =
98 // Simulate closing the dialog so the listener gets invoked.
99 dialog->ExtensionDialogClosing(NULL);
106 scoped_refptr<SelectFileDialogExtension> dialog =
108 // Simulate cancelling the dialog.
110 // Simulate closing the dialog so the listener gets invoked.
111 dialog->ExtensionDialogClosing(NULL);
122 // Simulate closing the dialog so the listener gets invoked.
123 client->dialog()->ExtensionDialogClosing(NULL);