From 799d9dea1be5fa710f5c0f7d9a4c00af830091b3 Mon Sep 17 00:00:00 2001 From: "finnur@google.com" Date: Sat, 7 Feb 2009 00:29:17 +0000 Subject: 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 --- webkit/glue/chrome_client_impl.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'webkit/glue/chrome_client_impl.h') 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_ -- cgit v1.1