summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 18:29:56 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 18:29:56 +0000
commite1f34499ce79eca58e76e9ea1bdeef2402eb4607 (patch)
tree50c640a884a0a8e14e2dfcd9d99e71f66df9100c /webkit/glue/webview_delegate.h
parenta023701ae0919ac47093e660bb400c6b87408460 (diff)
downloadchromium_src-e1f34499ce79eca58e76e9ea1bdeef2402eb4607.zip
chromium_src-e1f34499ce79eca58e76e9ea1bdeef2402eb4607.tar.gz
chromium_src-e1f34499ce79eca58e76e9ea1bdeef2402eb4607.tar.bz2
Reverting 11002.
Review URL: http://codereview.chromium.org/39203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11008 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index a1a90d2..59d4d95 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -498,10 +498,9 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
}
// Displays a JavaScript alert panel associated with the given view. Clients
- // should visually indicate that this panel comes from JavaScript and some
- // information about the originating frame (at least the domain). The panel
+ // should visually indicate that this panel comes from JavaScript. The panel
// should have a single OK button.
- virtual void RunJavaScriptAlert(WebFrame* webframe,
+ virtual void RunJavaScriptAlert(WebView* webview,
const std::wstring& message) {
}
@@ -509,7 +508,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
// Clients should visually indicate that this panel comes
// from JavaScript. The panel should have two buttons, e.g. "OK" and
// "Cancel". Returns true if the user hit OK, or false if the user hit Cancel.
- virtual bool RunJavaScriptConfirm(WebFrame* webframe,
+ virtual bool RunJavaScriptConfirm(WebView* webview,
const std::wstring& message) {
return false;
}
@@ -521,7 +520,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
// panel when it is shown. If the user hit OK, returns true and fills result
// with the text in the box. The value of result is undefined if the user
// hit Cancel.
- virtual bool RunJavaScriptPrompt(WebFrame* webframe,
+ virtual bool RunJavaScriptPrompt(WebView* webview,
const std::wstring& message,
const std::wstring& default_value,
std::wstring* result) {
@@ -537,7 +536,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
// that the navigation should continue, and Cancel means that the navigation
// should be cancelled, leaving the user on the current page. Returns true
// if the user hit OK, or false if the user hit Cancel.
- virtual bool RunBeforeUnloadConfirm(WebFrame* webframe,
+ virtual bool RunBeforeUnloadConfirm(WebView* webview,
const std::wstring& message) {
return true; // OK, continue to navigate away
}