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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; | 169 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; |
170 void onMouseDown(Node*) override; | 170 void onMouseDown(Node*) override; |
171 void didUpdateTopControls() const override; | 171 void didUpdateTopControls() const override; |
172 | 172 |
173 FloatSize elasticOverscroll() const override; | 173 FloatSize elasticOverscroll() const override; |
174 | 174 |
175 private: | 175 private: |
176 explicit ChromeClientImpl(WebViewImpl*); | 176 explicit ChromeClientImpl(WebViewImpl*); |
177 | 177 |
| 178 bool disableThreadedParsingForUnitTests() const override; |
| 179 |
178 bool isChromeClientImpl() const override { return true; } | 180 bool isChromeClientImpl() const override { return true; } |
179 void registerPopupOpeningObserver(PopupOpeningObserver*) override; | 181 void registerPopupOpeningObserver(PopupOpeningObserver*) override; |
180 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; | 182 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; |
181 | 183 |
182 void notifyPopupOpeningObservers() const; | 184 void notifyPopupOpeningObservers() const; |
183 void setCursor(const WebCursorInfo&); | 185 void setCursor(const WebCursorInfo&); |
184 | 186 |
185 WebViewImpl* m_webView; // Weak pointer. | 187 WebViewImpl* m_webView; // Weak pointer. |
186 WindowFeatures m_windowFeatures; | 188 WindowFeatures m_windowFeatures; |
187 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 189 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
188 Cursor m_lastSetMouseCursorForTesting; | 190 Cursor m_lastSetMouseCursorForTesting; |
189 }; | 191 }; |
190 | 192 |
191 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 193 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
192 | 194 |
193 } // namespace blink | 195 } // namespace blink |
194 | 196 |
195 #endif | 197 #endif |
OLD | NEW |