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

Unified Diff: chrome/browser/ui/javascript_dialogs/javascript_dialog.h

Issue 2867613002: Fix HandleJavaScriptDialog. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | chrome/browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/javascript_dialogs/javascript_dialog.h
diff --git a/chrome/browser/ui/javascript_dialogs/javascript_dialog.h b/chrome/browser/ui/javascript_dialogs/javascript_dialog.h
index 877e0ce67de658691cc4a9bd12d62b726d82cafe..684f5501d25cc39be68eee78962fafdb685d0c58 100644
--- a/chrome/browser/ui/javascript_dialogs/javascript_dialog.h
+++ b/chrome/browser/ui/javascript_dialogs/javascript_dialog.h
@@ -32,6 +32,9 @@ class JavaScriptDialog {
// one.
virtual void CloseDialogWithoutCallback() = 0;
+ // Returns the current value of the user input for a prompt dialog.
+ virtual base::string16 GetUserInput() = 0;
+
protected:
explicit JavaScriptDialog(content::WebContents* parent_web_contents);
« no previous file with comments | « no previous file | chrome/browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698