| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 class WebViewImpl; | 44 class WebViewImpl; |
| 45 struct WebCursorInfo; | 45 struct WebCursorInfo; |
| 46 struct WebPopupMenuInfo; | 46 struct WebPopupMenuInfo; |
| 47 | 47 |
| 48 // Handles window-level notifications from WebCore on behalf of a WebView. | 48 // Handles window-level notifications from WebCore on behalf of a WebView. |
| 49 class ChromeClientImpl : public WebCore::ChromeClientChromium { | 49 class ChromeClientImpl : public WebCore::ChromeClientChromium { |
| 50 public: | 50 public: |
| 51 explicit ChromeClientImpl(WebViewImpl* webView); | 51 explicit ChromeClientImpl(WebViewImpl* webView); |
| 52 virtual ~ChromeClientImpl(); | 52 virtual ~ChromeClientImpl(); |
| 53 | 53 |
| 54 WebViewImpl* webview() const { return m_webView; } | 54 WebViewImpl* webView() const { return m_webView; } |
| 55 | 55 |
| 56 // ChromeClient methods: | 56 // ChromeClient methods: |
| 57 virtual void chromeDestroyed(); | 57 virtual void chromeDestroyed(); |
| 58 virtual void setWindowRect(const WebCore::FloatRect&); | 58 virtual void setWindowRect(const WebCore::FloatRect&); |
| 59 virtual WebCore::FloatRect windowRect(); | 59 virtual WebCore::FloatRect windowRect(); |
| 60 virtual WebCore::FloatRect pageRect(); | 60 virtual WebCore::FloatRect pageRect(); |
| 61 virtual float scaleFactor(); | 61 virtual float scaleFactor(); |
| 62 virtual void focus(); | 62 virtual void focus(); |
| 63 virtual void unfocus(); | 63 virtual void unfocus(); |
| 64 virtual bool canTakeFocus(WebCore::FocusDirection); | 64 virtual bool canTakeFocus(WebCore::FocusDirection); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 bool m_scrollbarsVisible; | 145 bool m_scrollbarsVisible; |
| 146 bool m_menubarVisible; | 146 bool m_menubarVisible; |
| 147 bool m_resizable; | 147 bool m_resizable; |
| 148 // Set to true if the next SetCursor is to be ignored. | 148 // Set to true if the next SetCursor is to be ignored. |
| 149 bool m_ignoreNextSetCursor; | 149 bool m_ignoreNextSetCursor; |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 } // namespace WebKit | 152 } // namespace WebKit |
| 153 | 153 |
| 154 #endif | 154 #endif |
| OLD | NEW |