summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-07 00:29:17 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-07 00:29:17 +0000
commit799d9dea1be5fa710f5c0f7d9a4c00af830091b3 (patch)
tree7d7d09dbe72aed83cbf188aa51ac198a820165e7 /webkit/glue/webview_delegate.h
parentd81e71ece74aa68db876e639c716e892637a116b (diff)
downloadchromium_src-799d9dea1be5fa710f5c0f7d9a4c00af830091b3.zip
chromium_src-799d9dea1be5fa710f5c0f7d9a4c00af830091b3.tar.gz
chromium_src-799d9dea1be5fa710f5c0f7d9a4c00af830091b3.tar.bz2
Implementing that callback required to pass
LayoutTest/fast/dom/assign-to-window-status.html which is testing whether we can assign values to window.status. BUG=1143492 Review URL: http://codereview.chromium.org/21147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index 955985e..2fe2351 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -23,8 +23,8 @@
// of ChromeClient and FrameLoaderClient not delegated in the WebKit
// implementation; and some WebView additions.
-#ifndef WEBKIT_GLUE_WEBVIEW_DELEGATE_H__
-#define WEBKIT_GLUE_WEBVIEW_DELEGATE_H__
+#ifndef WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
+#define WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
#include <string>
#include <vector>
@@ -93,7 +93,7 @@ class WebFileChooserCallback {
virtual void OnFileChoose(const std::vector<std::wstring>& file_names) { }
private:
- DISALLOW_EVIL_CONSTRUCTORS(WebFileChooserCallback);
+ DISALLOW_COPY_AND_ASSIGN(WebFileChooserCallback);
};
@@ -518,6 +518,10 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
return false;
}
+ // Sets the status bar text.
+ virtual void SetStatusbarText(WebView* webview,
+ const std::wstring& message) { }
+
// Displays a "before unload" confirm panel associated with the given view.
// The panel should have two buttons, e.g. "OK" and "Cancel", where OK means
// that the navigation should continue, and Cancel means that the navigation
@@ -772,8 +776,7 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
virtual ~WebViewDelegate() { }
private:
- DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate);
+ DISALLOW_COPY_AND_ASSIGN(WebViewDelegate);
};
-#endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__
-
+#endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_