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