diff options
author | cem.kocagil@gmail.com <cem.kocagil@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-30 19:53:29 +0000 |
---|---|---|
committer | cem.kocagil@gmail.com <cem.kocagil@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-30 19:53:29 +0000 |
commit | 7fc838215af759eb66e38be4cf2be1ff50b69e51 (patch) | |
tree | 48dbe4947f2f45a83bab177273410926aa4e01bc /content/shell/shell_javascript_dialog.h | |
parent | b14175d1c3ca05c4a07ad73ecbd0572c03000dcf (diff) | |
download | chromium_src-7fc838215af759eb66e38be4cf2be1ff50b69e51.zip chromium_src-7fc838215af759eb66e38be4cf2be1ff50b69e51.tar.gz chromium_src-7fc838215af759eb66e38be4cf2be1ff50b69e51.tar.bz2 |
Add JavaScript dialogs functionality to content_shell on Windows
BUG=120155
TEST=JavaScript dialogs should work in content_shell on Windows
Review URL: http://codereview.chromium.org/9918013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_javascript_dialog.h')
-rw-r--r-- | content/shell/shell_javascript_dialog.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/content/shell/shell_javascript_dialog.h b/content/shell/shell_javascript_dialog.h index 32d425d..a64ba39 100644 --- a/content/shell/shell_javascript_dialog.h +++ b/content/shell/shell_javascript_dialog.h @@ -42,7 +42,14 @@ class ShellJavaScriptDialog { #if defined(OS_MACOSX) ShellJavaScriptDialogHelper* helper_; // owned NSAlert* alert_; // weak, owned by |helper_|. -#endif // defined(OS_MACOSX) +#elif defined(OS_WIN) + ui::JavascriptMessageType message_type_; + HWND dialog_win_; + string16 message_text_; + string16 default_prompt_text_; + static INT_PTR CALLBACK DialogProc(HWND dialog, UINT message, WPARAM wparam, + LPARAM lparam); +#endif DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialog); }; |