summaryrefslogtreecommitdiffstats
path: root/chrome/browser/js_modal_dialog_mac.mm
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 05:10:34 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 05:10:34 +0000
commitd615a7a8efa0699aaccf39f8adcbe120b735b626 (patch)
tree981ac0e401191fc9ac9515278de84e252a2c7a91 /chrome/browser/js_modal_dialog_mac.mm
parent54371feaa7f5719180eaeb7e22a460b570f10b30 (diff)
downloadchromium_src-d615a7a8efa0699aaccf39f8adcbe120b735b626.zip
chromium_src-d615a7a8efa0699aaccf39f8adcbe120b735b626.tar.gz
chromium_src-d615a7a8efa0699aaccf39f8adcbe120b735b626.tar.bz2
Mac: Cookie confirmation dialog.
This is not the final UI (the "more info" disclosure triangle is missing), but it's pretty close and, more importantly, functional. BUG=34894 TEST=Go to Preferences->under the hood->content settings->cookies and select "ask me every time". Then browser around and note that a message box pops up all the time. All the buttons on the message box should do what they claim. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=39756 Review URL: http://codereview.chromium.org/650206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/js_modal_dialog_mac.mm')
-rw-r--r--chrome/browser/js_modal_dialog_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/js_modal_dialog_mac.mm b/chrome/browser/js_modal_dialog_mac.mm
index 8519433..9ab04d8 100644
--- a/chrome/browser/js_modal_dialog_mac.mm
+++ b/chrome/browser/js_modal_dialog_mac.mm
@@ -151,6 +151,7 @@ void JavaScriptAppModalDialog::CreateAndShowDialog() {
[[alert window] makeFirstResponder:field];
}
+// The functions below are used by the automation framework.
int JavaScriptAppModalDialog::GetDialogButtons() {
NOTIMPLEMENTED();
return 0;
@@ -164,6 +165,7 @@ void JavaScriptAppModalDialog::CancelWindow() {
NOTIMPLEMENTED();
}
+// This is only used by the app-modal dialog machinery on windows.
NativeDialog JavaScriptAppModalDialog::CreateNativeDialog() {
NOTIMPLEMENTED();
return nil;