diff options
author | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-07 00:29:17 +0000 |
---|---|---|
committer | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-07 00:29:17 +0000 |
commit | 799d9dea1be5fa710f5c0f7d9a4c00af830091b3 (patch) | |
tree | 7d7d09dbe72aed83cbf188aa51ac198a820165e7 /webkit/glue/chrome_client_impl.h | |
parent | d81e71ece74aa68db876e639c716e892637a116b (diff) | |
download | chromium_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/chrome_client_impl.h')
-rw-r--r-- | webkit/glue/chrome_client_impl.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h index 8ac4916..2c6fc22 100644 --- a/webkit/glue/chrome_client_impl.h +++ b/webkit/glue/chrome_client_impl.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ -#define WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ +#ifndef WEBKIT_GLUE_CHROME_CLIENT_IMPL_H_ +#define WEBKIT_GLUE_CHROME_CLIENT_IMPL_H_ #include "base/compiler_specific.h" @@ -21,7 +21,7 @@ struct WindowFeatures; // Handles window-level notifications from WebCore on behalf of a WebView. class ChromeClientImpl : public WebCore::ChromeClientChromium { -public: + public: ChromeClientImpl(WebViewImpl* webview); virtual ~ChromeClientImpl(); @@ -81,7 +81,7 @@ public: const WebCore::String& defaultValue, WebCore::String& result); - virtual void setStatusbarText(const WebCore::String&); + virtual void setStatusbarText(const WebCore::String& message); virtual bool shouldInterruptJavaScript(); // Returns true if anchors should accept keyboard focus with the tab key. @@ -127,7 +127,7 @@ public: virtual void formStateDidChange(const WebCore::Node*); -private: + private: WebViewImpl* webview_; // weak pointer bool toolbars_visible_; bool statusbar_visible_; @@ -138,5 +138,4 @@ private: bool ignore_next_set_cursor_; }; -#endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ - +#endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H_ |