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