Home
last modified time | relevance | path

Searched refs:dialog_ (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/android/
Djavascript_app_modal_dialog_android.cc38 : dialog_(dialog), in JavascriptAppModalDialogAndroid()
61 ConvertUTF16ToJavaString(env, dialog_->title()); in ShowAppModalDialog()
63 ConvertUTF16ToJavaString(env, dialog_->message_text()); in ShowAppModalDialog()
65 switch (dialog_->javascript_message_type()) { in ShowAppModalDialog()
69 dialog_->display_suppress_checkbox()); in ShowAppModalDialog()
73 if (dialog_->is_before_unload_dialog()) { in ShowAppModalDialog()
75 env, title.obj(), message.obj(), dialog_->is_reload(), in ShowAppModalDialog()
76 dialog_->display_suppress_checkbox()); in ShowAppModalDialog()
80 dialog_->display_suppress_checkbox()); in ShowAppModalDialog()
86 ConvertUTF16ToJavaString(env, dialog_->default_prompt_text()); in ShowAppModalDialog()
[all …]
/external/chromium_org/ash/system/chromeos/session/
Dlogout_confirmation_controller.cc21 dialog_(NULL), in LogoutConfirmationController()
30 if (dialog_) in ~LogoutConfirmationController()
31 dialog_->GetWidget()->Close(); in ~LogoutConfirmationController()
44 if (!dialog_) { in ConfirmLogout()
47 dialog_ = new LogoutConfirmationDialog(this, logout_time_); in ConfirmLogout()
49 dialog_->Update(logout_time_); in ConfirmLogout()
69 if (dialog_) in OnLockStateChanged()
70 dialog_->GetWidget()->Close(); in OnLockStateChanged()
81 dialog_ = NULL; in OnDialogClosed()
Dlogout_confirmation_controller.h54 LogoutConfirmationDialog* dialog_for_testing() const { return dialog_; } in dialog_for_testing()
61 LogoutConfirmationDialog* dialog_; // Owned by the Views hierarchy. variable
/external/chromium_org/chrome/browser/ui/views/
Dcrypto_module_password_dialog_view_unittest.cc27 dialog_.reset(new CryptoModulePasswordDialogView("slot", in CreateCryptoDialog()
33 scoped_ptr<CryptoModulePasswordDialogView> dialog_; member in chrome::CryptoModulePasswordDialogViewTest
41 EXPECT_EQ(dialog_->password_entry_, dialog_->GetInitiallyFocusedView()); in TEST_F()
42 EXPECT_TRUE(dialog_->GetModalType() != ui::MODAL_TYPE_NONE); in TEST_F()
44 dialog_->password_entry_->SetText(base::ASCIIToUTF16(kPassword)); in TEST_F()
45 EXPECT_TRUE(dialog_->Accept()); in TEST_F()
48 EXPECT_EQ(empty, dialog_->password_entry_->text()); in TEST_F()
Dlogin_prompt_views.cc33 dialog_(NULL) { in LoginHandlerViews()
63 dialog_ = NULL; in WindowClosing()
71 dialog_ = NULL; in DeleteDelegate()
125 dialog_ = ShowWebModalDialogViews(this, GetWebContentsForLogin()); in BuildViewForPasswordManager()
131 if (dialog_) in CloseDialog()
132 dialog_->Close(); in CloseDialog()
144 views::Widget* dialog_; member in LoginHandlerViews
Dselect_file_dialog_extension_browsertest.cc92 dialog_ = new SelectFileDialogExtension(listener_.get(), NULL); in SetUp()
110 dialog_ = NULL; in TearDown()
127 dialog_->GetRenderViewHost()->GetMainFrame(); in CheckJavascriptErrors()
150 dialog_->SelectFile(dialog_type, in OpenDialog()
169 ASSERT_TRUE(dialog_->IsRunning(owning_window)); in OpenDialog()
198 content::RenderViewHost* host = dialog_->GetRenderViewHost(); in CloseDialog()
212 ASSERT_FALSE(dialog_->IsRunning(owning_window)); in CloseDialog()
216 scoped_refptr<SelectFileDialogExtension> dialog_; member in SelectFileDialogExtensionBrowserTest
231 ASSERT_FALSE(dialog_->IsRunning(native_window)); in IN_PROC_BROWSER_TEST_F()
237 dialog_->ListenerDestroyed(); in IN_PROC_BROWSER_TEST_F()
Dselect_file_dialog_extension_unittest.cc68 dialog_ = SelectFileDialogExtensionTest::CreateDialog(this); in SelfDeletingClient()
72 if (dialog_.get()) in ~SelfDeletingClient()
73 dialog_->ListenerDestroyed(); in ~SelfDeletingClient()
76 SelectFileDialogExtension* dialog() const { return dialog_.get(); } in dialog()
86 scoped_refptr<SelectFileDialogExtension> dialog_; member in SelfDeletingClient
Dconstrained_window_views_unittest.cc52 dialog_.reset(new Widget); in SetUp()
53 dialog_->Init(params); in SetUp()
55 dialog_->GetNativeView())); in SetUp()
69 dialog_.reset(); in TearDown()
80 Widget* dialog() { return dialog_.get(); } in dialog()
85 scoped_ptr<Widget> dialog_; member in views::ConstrainedWindowViewsTest
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dprint_dialog_gtk2.cc181 dialog_(NULL), in PrintDialogGtk2()
190 if (dialog_) { in ~PrintDialogGtk2()
191 aura::Window* parent = libgtk2ui::GetAuraTransientParent(dialog_); in ~PrintDialogGtk2()
194 libgtk2ui::ClearAuraTransientParent(dialog_); in ~PrintDialogGtk2()
196 gtk_widget_destroy(dialog_); in ~PrintDialogGtk2()
197 dialog_ = NULL; in ~PrintDialogGtk2()
326 dialog_ = gtk_print_unix_dialog_new(NULL, NULL); in ShowDialog()
327 libgtk2ui::SetGtkTransientForAura(dialog_, parent_view); in ShowDialog()
330 g_signal_connect(dialog_, "delete-event", in ShowDialog()
335 gtk_window_set_modal(GTK_WINDOW(dialog_), TRUE); in ShowDialog()
[all …]
/external/chromium_org/content/shell/browser/
Dshell_javascript_dialog_manager.cc48 if (dialog_) { in RunJavaScriptDialog()
59 dialog_.reset(new ShellJavaScriptDialog(this, in RunJavaScriptDialog()
90 if (dialog_) { in RunBeforeUnloadDialog()
102 dialog_.reset(new ShellJavaScriptDialog(this, in RunBeforeUnloadDialog()
118 if (dialog_) { in CancelActiveAndPendingDialogs()
119 dialog_->Cancel(); in CancelActiveAndPendingDialogs()
120 dialog_.reset(); in CancelActiveAndPendingDialogs()
133 DCHECK_EQ(dialog, dialog_.get()); in DialogClosed()
134 dialog_.reset(); in DialogClosed()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_uninstall_dialog_view.cc77 void DialogDestroyed() { dialog_ = NULL; } in DialogDestroyed()
102 ExtensionUninstallDialogViews* dialog_; member in __anon2d554abe0111::ExtensionUninstallDialogDelegateView
160 : dialog_(dialog_view), in ExtensionUninstallDialogDelegateView()
171 heading_ = new views::Label(base::UTF8ToUTF16(dialog_->GetHeadingText())); in ExtensionUninstallDialogDelegateView()
185 if (dialog_) in ~ExtensionUninstallDialogDelegateView()
186 dialog_->DialogDelegateDestroyed(); in ~ExtensionUninstallDialogDelegateView()
196 if (dialog_) in Accept()
197 dialog_->ExtensionUninstallAccepted(); in Accept()
202 if (dialog_) in Cancel()
203 dialog_->ExtensionUninstallCanceled(); in Cancel()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_permission_controller_unittest.cc45 : dialog_(NULL), in MediaGalleriesPermissionControllerTest()
54 EXPECT_FALSE(dialog_); in ~MediaGalleriesPermissionControllerTest()
98 return dialog_; in dialog()
102 EXPECT_FALSE(dialog_); in dialog_update_count_at_destruction()
125 EXPECT_FALSE(dialog_); in CreateMockDialog()
127 dialog_ = new MockMediaGalleriesDialog(base::Bind( in CreateMockDialog()
130 return dialog_; in CreateMockDialog()
134 EXPECT_TRUE(dialog_); in OnDialogDestroyed()
136 dialog_ = NULL; in OnDialogDestroyed()
148 MockMediaGalleriesDialog* dialog_; member in MediaGalleriesPermissionControllerTest
Dmedia_galleries_scan_result_controller_unittest.cc36 : dialog_(NULL), in MediaGalleriesScanResultControllerTest()
45 EXPECT_FALSE(dialog_); in ~MediaGalleriesScanResultControllerTest()
94 return dialog_; in dialog()
98 EXPECT_FALSE(dialog_); in dialog_update_count_at_destruction()
138 EXPECT_FALSE(dialog_); in CreateMockDialog()
140 dialog_ = new MockMediaGalleriesDialog(base::Bind( in CreateMockDialog()
143 return dialog_; in CreateMockDialog()
147 EXPECT_TRUE(dialog_); in OnDialogDestroyed()
149 dialog_ = NULL; in OnDialogDestroyed()
161 MockMediaGalleriesDialog* dialog_; member in MediaGalleriesScanResultControllerTest
/external/chromium_org/chrome/browser/ui/
Dtab_modal_confirm_dialog_browsertest.cc54 dialog_(NULL), in TabModalConfirmDialogTest()
63 dialog_ = TabModalConfirmDialog::Create( in SetUpOnMainThread()
85 dialog_->AcceptTabModalDialog(); in IN_PROC_BROWSER_TEST_F()
92 dialog_->CancelTabModalDialog(); in IN_PROC_BROWSER_TEST_F()
106 dialog_->CloseDialog(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dautofill_dialog_views_unittest.cc77 dialog_.reset(new TestAutofillDialogViews(&view_delegate_)); in SetUp()
78 dialog_->Show(); in SetUp()
82 dialog_->GetWidget()->CloseNow(); in TearDown()
83 dialog_.reset(); in TearDown()
90 TestAutofillDialogViews* dialog() { return dialog_.get(); } in dialog()
109 scoped_ptr<TestAutofillDialogViews> dialog_; member in autofill::AutofillDialogViewsTest
/external/chromium_org/chrome/browser/ui/webui/signin/
Dprofile_signin_confirmation_dialog.cc41 const ProfileSigninConfirmationDialog* dialog_; member in __anonc892d6b40111::ProfileSigninConfirmationHandler
50 : dialog_(dialog), delegate_(delegate) { in ProfileSigninConfirmationHandler()
75 dialog_->Close(); in OnCancelButtonClicked()
81 dialog_->Close(); in OnCreateProfileClicked()
87 dialog_->Close(); in OnContinueButtonClicked()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_browser_handler_api.cc151 scoped_refptr<ui::SelectFileDialog> dialog_; member in __anon73a981260111::FileSelectorImpl
162 if (dialog_.get()) in ~FileSelectorImpl()
163 dialog_->ListenerDestroyed(); in ~FileSelectorImpl()
192 DCHECK(!dialog_.get()); in StartSelectFile()
203 dialog_ = ui::SelectFileDialog::Create( in StartSelectFile()
211 dialog_->SelectFile(ui::SelectFileDialog::SELECT_SAVEAS_FILE, in StartSelectFile()
219 return dialog_->IsRunning(browser->window()->GetNativeWindow()); in StartSelectFile()
/external/chromium_org/ui/views/window/
Ddialog_delegate_unittest.cc94 DialogTest() : dialog_(NULL) {} in DialogTest()
99 dialog_ = new TestDialog(); in SetUp()
100 DialogDelegate::CreateDialogWidget(dialog_, GetContext(), NULL)->Show(); in SetUp()
104 dialog_->TearDown(); in TearDown()
108 TestDialog* dialog() const { return dialog_; } in dialog()
111 TestDialog* dialog_; member in views::__anon224270300111::DialogTest
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Dcharger_replacement_handler.cc32 dialog_(dialog) { in ChargerReplacementHandler()
245 dialog_->set_can_close(true); in ConfirmSafeCharger()
254 dialog_->set_can_close(true); in ConfirmNotOrderNewCharger()
265 dialog_->set_can_close(true); in ConfirmChargerOrderedOnline()
276 dialog_->set_can_close(true); in ConfirmChargerOrderByPhone()
290 dialog_->set_can_close(true); in ConfirmStillUseBadCharger()
/external/chromium_org/chrome/browser/ui/cocoa/
Dweb_contents_modal_dialog_manager_cocoa.mm19 : dialog_(dialog) {
50 return dialog_;
61 NativeWebContentsModalDialog dialog_;
Djavascript_app_modal_dialog_cocoa.h35 JavaScriptAppModalDialog* dialog() const { return dialog_.get(); } in dialog()
41 scoped_ptr<JavaScriptAppModalDialog> dialog_; variable
Djavascript_app_modal_dialog_cocoa.mm220 : dialog_(dialog), function
229 switch (dialog_->javascript_message_type()) {
234 if (dialog_->is_before_unload_dialog()) {
235 if (dialog_->is_reload()) {
264 dialog_->default_prompt_text())];
268 base::SysUTF16ToNSString(dialog_->message_text());
289 base::SysUTF16ToNSString(dialog_->title());
296 if (dialog_->display_suppress_checkbox()) {
318 base::i18n::StringContainsStrongRTLChars(dialog_->title());
320 base::i18n::StringContainsStrongRTLChars(dialog_->message_text());
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_view_tester_cocoa.mm36 if (!dialog_->delegate()->SectionIsActive(section))
51 if (!dialog_->delegate()->SectionIsActive(section))
82 : dialog_(dialog) {}
98 if (!dialog_->delegate()->SectionIsActive(section))
148 return dialog_->sheet_delegate_;
Dautofill_sign_in_container.mm70 dialog_ = dialog;
78 content::WebContents::CreateParams(dialog_->delegate()->profile())));
95 dialog_,
97 dialog_->delegate()->GetWebContents(),
102 dialog_->delegate()->SignInUrl(),
/external/chromium_org/chrome/browser/ui/app_list/
Dextension_uninstaller.cc35 dialog_.reset(extensions::ExtensionUninstallDialog::Create( in Run()
37 dialog_->ConfirmUninstall(extension); in Run()

123