Home
last modified time | relevance | path

Searched refs:DIALOG_BUTTON_CANCEL (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/ui/views/window/
Ddialog_delegate.cc101 if ((buttons & ui::DIALOG_BUTTON_CANCEL) || in Close()
117 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL; in GetDialogButtons()
123 if (GetDialogButtons() & ui::DIALOG_BUTTON_CANCEL) in GetDefaultDialogButton()
124 return ui::DIALOG_BUTTON_CANCEL; in GetDefaultDialogButton()
136 if (button == ui::DIALOG_BUTTON_CANCEL) { in GetDialogButtonLabel()
164 if (default_button & ui::DIALOG_BUTTON_CANCEL) in GetInitiallyFocusedView()
Ddialog_client_view_unittest.cc126 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL); in TEST_F()
145 SetDialogButtons(ui::DIALOG_BUTTON_CANCEL); in TEST_F()
153 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL); in TEST_F()
160 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL); in TEST_F()
175 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL); in TEST_F()
213 SetDialogButtons(ui::DIALOG_BUTTON_CANCEL); in TEST_F()
Ddialog_client_view.cc94 if (!(buttons & ui::DIALOG_BUTTON_CANCEL)) in UpdateDialogButtons()
105 if (buttons & ui::DIALOG_BUTTON_CANCEL) { in UpdateDialogButtons()
107 cancel_button_ = CreateDialogButton(ui::DIALOG_BUTTON_CANCEL); in UpdateDialogButtons()
112 UpdateButton(cancel_button_, ui::DIALOG_BUTTON_CANCEL); in UpdateDialogButtons()
160 } else if (default_button == ui::DIALOG_BUTTON_CANCEL && cancel_button_) { in OnWillChangeFocus()
/external/chromium_org/chrome/browser/chromeos/extensions/
Decho_private_apitest.cc134 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK; in IN_PROC_BROWSER_TEST_F()
147 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK; in IN_PROC_BROWSER_TEST_F()
160 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK; in IN_PROC_BROWSER_TEST_F()
173 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL; in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dextension_install_prompt.cc86 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
87 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
88 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
89 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
90 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
91 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
92 ui::DIALOG_BUTTON_CANCEL,
93 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
94 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
95 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
/external/chromium_org/chrome/browser/ui/views/
Dconfirm_bubble_views.cc51 case ui::DIALOG_BUTTON_CANCEL: in GetDialogButtonLabel()
63 case ui::DIALOG_BUTTON_CANCEL: in IsDialogButtonEnabled()
Djavascript_app_modal_dialog_views.cc103 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL; in GetDialogButtons()
151 } else if (button == ui::DIALOG_BUTTON_CANCEL) { in GetDialogButtonLabel()
Dsimple_message_box_views.cc129 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL; in GetDialogButtons()
137 if (button == ui::DIALOG_BUTTON_CANCEL) in GetDialogButtonLabel()
Dtab_modal_confirm_dialog_views.cc81 if (button == ui::DIALOG_BUTTON_CANCEL) in GetDialogButtonLabel()
Dexternal_protocol_dialog.cc60 return ui::DIALOG_BUTTON_CANCEL; in GetDefaultDialogButton()
Dpdf_password_dialog.cc83 if (button == ui::DIALOG_BUTTON_CANCEL) in GetDialogButtonLabel()
Dsigned_certificate_timestamps_views.cc109 return ui::DIALOG_BUTTON_CANCEL; in GetDialogButtons()
Ddesktop_media_picker_views_unittest.cc140 GetPickerDialogView()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL)); in TEST_F()
Dcollected_cookies_views.cc211 return ui::DIALOG_BUTTON_CANCEL; in GetDialogButtons()
/external/chromium_org/ash/system/chromeos/multi_user/
Duser_switch_util.cc114 return button == ui::DIALOG_BUTTON_OK || button == ui::DIALOG_BUTTON_CANCEL; in IsDialogButtonEnabled()
119 return ui::DIALOG_BUTTON_CANCEL; in GetDefaultDialogButton()
/external/chromium_org/chrome/browser/chromeos/ui/
Decho_dialog_view.cc113 buttons |= ui::DIALOG_BUTTON_CANCEL; in GetDialogButtons()
137 if (button == ui::DIALOG_BUTTON_CANCEL && cancel_button_label_id_) in GetDialogButtonLabel()
/external/chromium_org/ui/base/
Dui_base_types.h30 DIALOG_BUTTON_CANCEL = 2, enumerator
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_in_progress_dialog_view.cc88 return ui::DIALOG_BUTTON_CANCEL; in GetDefaultDialogButton()
Ddownload_feedback_dialog_view.cc91 return ui::DIALOG_BUTTON_CANCEL; in GetDefaultDialogButton()
Ddownload_danger_prompt_views.cc160 case ui::DIALOG_BUTTON_CANCEL: in GetDialogButtonLabel()
/external/chromium_org/chrome/browser/ui/autofill/
Dmock_autofill_dialog_view_delegate.cc51 .WillByDefault(Return(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL)); in MockAutofillDialogViewDelegate()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dplatform_verification_dialog.cc111 case ui::DIALOG_BUTTON_CANCEL: in GetDialogButtonLabel()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_uninstall_dialog_view.cc86 ui::DIALOG_BUTTON_CANCEL : ui::DIALOG_BUTTON_OK; in GetDefaultDialogButton()
Dextension_install_dialog_view.cc739 DCHECK_GT(buttons & ui::DIALOG_BUTTON_CANCEL, 0); in GetDialogButtons()
748 case ui::DIALOG_BUTTON_CANCEL: in GetDialogButtonLabel()
759 return ui::DIALOG_BUTTON_CANCEL; in GetDefaultDialogButton()
/external/chromium_org/chrome/browser/chromeos/
Denrollment_dialog_view.cc114 return ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK; in GetDialogButtons()

12