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

Unified Diff: Source/core/frame/LocalDOMWindow.cpp

Issue 1149093010: Cleanup: Rename ChromeClient function names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/dom/Document.cpp ('k') | Source/core/html/forms/ColorInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.cpp
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
index 4f462b7a55a3746ca31e56cc301a64d3f3114a29..99035e48fa7bc846c7dcea11106517ba8df2c520 100644
--- a/Source/core/frame/LocalDOMWindow.cpp
+++ b/Source/core/frame/LocalDOMWindow.cpp
@@ -826,7 +826,7 @@ void LocalDOMWindow::alert(const String& message)
if (!host)
return;
- host->chromeClient().runJavaScriptAlert(frame(), message);
+ host->chromeClient().openJavaScriptAlert(frame(), message);
}
bool LocalDOMWindow::confirm(const String& message)
@@ -852,7 +852,7 @@ bool LocalDOMWindow::confirm(const String& message)
return false;
}
- return host->chromeClient().runJavaScriptConfirm(frame(), message);
+ return host->chromeClient().openJavaScriptConfirm(frame(), message);
}
String LocalDOMWindow::prompt(const String& message, const String& defaultValue)
@@ -873,7 +873,7 @@ String LocalDOMWindow::prompt(const String& message, const String& defaultValue)
return String();
String returnValue;
- if (host->chromeClient().runJavaScriptPrompt(frame(), message, defaultValue, returnValue))
+ if (host->chromeClient().openJavaScriptPrompt(frame(), message, defaultValue, returnValue))
return returnValue;
return String();
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/forms/ColorInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698