| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class WebViewImpl; | 51 class WebViewImpl; |
| 52 struct WebCursorInfo; | 52 struct WebCursorInfo; |
| 53 struct WebPopupMenuInfo; | 53 struct WebPopupMenuInfo; |
| 54 | 54 |
| 55 // Handles window-level notifications from WebCore on behalf of a WebView. | 55 // Handles window-level notifications from WebCore on behalf of a WebView. |
| 56 class ChromeClientImpl : public WebCore::ChromeClientChromium { | 56 class ChromeClientImpl : public WebCore::ChromeClientChromium { |
| 57 public: | 57 public: |
| 58 explicit ChromeClientImpl(WebViewImpl* webView); | 58 explicit ChromeClientImpl(WebViewImpl* webView); |
| 59 virtual ~ChromeClientImpl(); | 59 virtual ~ChromeClientImpl(); |
| 60 | 60 |
| 61 WebViewImpl* webView() const { return m_webView; } | 61 virtual void* webView() const; |
| 62 | 62 |
| 63 // ChromeClient methods: | 63 // ChromeClient methods: |
| 64 virtual void chromeDestroyed(); | 64 virtual void chromeDestroyed(); |
| 65 virtual void setWindowRect(const WebCore::FloatRect&); | 65 virtual void setWindowRect(const WebCore::FloatRect&); |
| 66 virtual WebCore::FloatRect windowRect(); | 66 virtual WebCore::FloatRect windowRect(); |
| 67 virtual WebCore::FloatRect pageRect(); | 67 virtual WebCore::FloatRect pageRect(); |
| 68 virtual float scaleFactor(); | 68 virtual float scaleFactor(); |
| 69 virtual void focus(); | 69 virtual void focus(); |
| 70 virtual void unfocus(); | 70 virtual void unfocus(); |
| 71 virtual bool canTakeFocus(WebCore::FocusDirection); | 71 virtual bool canTakeFocus(WebCore::FocusDirection); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 bool m_toolbarsVisible; | 204 bool m_toolbarsVisible; |
| 205 bool m_statusbarVisible; | 205 bool m_statusbarVisible; |
| 206 bool m_scrollbarsVisible; | 206 bool m_scrollbarsVisible; |
| 207 bool m_menubarVisible; | 207 bool m_menubarVisible; |
| 208 bool m_resizable; | 208 bool m_resizable; |
| 209 }; | 209 }; |
| 210 | 210 |
| 211 } // namespace WebKit | 211 } // namespace WebKit |
| 212 | 212 |
| 213 #endif | 213 #endif |
| OLD | NEW |