Searched refs:DIALOG_BUTTON_CANCEL (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/ui/base/
H A Dui_base_types.h32 DIALOG_BUTTON_CANCEL = 2, enumerator in enum:ui::DialogButton
/external/chromium_org/ui/views/window/
H A Ddialog_delegate.cc90 if ((buttons & ui::DIALOG_BUTTON_CANCEL) ||
106 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
112 if (GetDialogButtons() & ui::DIALOG_BUTTON_CANCEL)
113 return ui::DIALOG_BUTTON_CANCEL;
125 if (button == ui::DIALOG_BUTTON_CANCEL) {
153 if (default_button & ui::DIALOG_BUTTON_CANCEL)
H A Ddialog_client_view_unittest.cc123 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL);
142 SetDialogButtons(ui::DIALOG_BUTTON_CANCEL);
150 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL);
157 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL);
172 SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL);
210 SetDialogButtons(ui::DIALOG_BUTTON_CANCEL);
H A Ddialog_client_view.cc75 if (!(buttons & ui::DIALOG_BUTTON_CANCEL))
86 if (buttons & ui::DIALOG_BUTTON_CANCEL) {
88 cancel_button_ = CreateDialogButton(ui::DIALOG_BUTTON_CANCEL);
93 UpdateButton(cancel_button_, ui::DIALOG_BUTTON_CANCEL);
141 } else if (default_button == ui::DIALOG_BUTTON_CANCEL && cancel_button_) {
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Decho_private_apitest.cc134 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK;
147 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK;
160 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK;
173 expected_dialog_buttons_ = ui::DIALOG_BUTTON_CANCEL;
/external/chromium_org/chrome/browser/ui/views/
H A Dconfirm_bubble_views.cc51 case ui::DIALOG_BUTTON_CANCEL:
63 case ui::DIALOG_BUTTON_CANCEL:
H A Djavascript_app_modal_dialog_views.cc86 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
131 } else if (button == ui::DIALOG_BUTTON_CANCEL) {
H A Dtab_modal_confirm_dialog_views.cc99 if (button == ui::DIALOG_BUTTON_CANCEL)
H A Duser_data_dir_dialog_view.cc40 case ui::DIALOG_BUTTON_CANCEL:
H A Dexternal_protocol_dialog.cc62 return ui::DIALOG_BUTTON_CANCEL;
H A Dsimple_message_box_views.cc97 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
H A Dcollected_cookies_views.cc228 return ui::DIALOG_BUTTON_CANCEL;
/external/chromium_org/chrome/browser/ui/autofill/
H A Dmock_autofill_dialog_view_delegate.cc43 .WillByDefault(Return(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL));
H A Dautofill_dialog_controller_unittest.cc1631 EXPECT_FALSE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1650 EXPECT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1662 EXPECT_FALSE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1667 EXPECT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1678 EXPECT_FALSE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1684 EXPECT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1695 ASSERT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1700 EXPECT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1712 ASSERT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1718 EXPECT_TRUE(controller()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_CANCEL));
1875 EXPECT_FALSE(controller()->GetDialogButtons() & ui::DIALOG_BUTTON_CANCEL); member in class:autofill::ui
1917 EXPECT_FALSE(controller()->GetDialogButtons() & ui::DIALOG_BUTTON_CANCEL); member in class:autofill::ui
[all...]
H A Dautofill_dialog_controller_impl.cc742 return ui::DIALOG_BUTTON_CANCEL;
744 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
765 DCHECK_EQ(ui::DIALOG_BUTTON_CANCEL, button);
/external/chromium_org/chrome/browser/chromeos/ui/
H A Decho_dialog_view.cc112 buttons |= ui::DIALOG_BUTTON_CANCEL;
135 if (button == ui::DIALOG_BUTTON_CANCEL && cancel_button_label_id_)
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_in_progress_dialog_view.cc86 return ui::DIALOG_BUTTON_CANCEL;
/external/chromium_org/chrome/browser/extensions/
H A Dextension_install_prompt.cc73 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
74 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
75 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
76 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
77 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
78 ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL,
79 ui::DIALOG_BUTTON_CANCEL,
/external/chromium_org/chrome/browser/ui/gtk/
H A Djavascript_app_modal_dialog_gtk.cc162 return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
/external/chromium_org/chrome/browser/chromeos/
H A Denrollment_dialog_view.cc108 return ui::DIALOG_BUTTON_CANCEL | ui::DIALOG_BUTTON_OK;
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_uninstall_dialog_view.cc100 return ui::DIALOG_BUTTON_CANCEL;
H A Dextension_install_dialog_view.cc623 DCHECK_GT(buttons & ui::DIALOG_BUTTON_CANCEL, 0);
632 case ui::DIALOG_BUTTON_CANCEL:
643 return ui::DIALOG_BUTTON_CANCEL;

Completed in 617 milliseconds