Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1170)

Unified Diff: content/shell/shell_javascript_dialog.h

Issue 9918013: Add JavaScript dialogs functionality to content_shell on Windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: style fix 4 Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/shell.rc ('k') | content/shell/shell_javascript_dialog_creator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_javascript_dialog.h
diff --git a/content/shell/shell_javascript_dialog.h b/content/shell/shell_javascript_dialog.h
index 32d425dfffe3e617e90c62dd5c9ee2c620c3abfb..ab08091868efd2c5dbb65d2094e6a8e04efb99c0 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 hDlg, UINT msg, WPARAM wParam,
jam 2012/03/29 17:16:13 nit: here too
+ LPARAM lParam);
+#endif
DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialog);
};
« no previous file with comments | « content/shell/shell.rc ('k') | content/shell/shell_javascript_dialog_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698