| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 void didUpdateTopControls() const override; | 180 void didUpdateTopControls() const override; |
| 181 | 181 |
| 182 FloatSize elasticOverscroll() const override; | 182 FloatSize elasticOverscroll() const override; |
| 183 | 183 |
| 184 void didObserveNonGetFetchFromScript() const override; | 184 void didObserveNonGetFetchFromScript() const override; |
| 185 | 185 |
| 186 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; | 186 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; |
| 187 | 187 |
| 188 double lastFrameTimeMonotonic() const override; | 188 double lastFrameTimeMonotonic() const override; |
| 189 | 189 |
| 190 void willEnterDebugLoop() const override; |
| 191 |
| 190 private: | 192 private: |
| 191 explicit ChromeClientImpl(WebViewImpl*); | 193 explicit ChromeClientImpl(WebViewImpl*); |
| 192 | 194 |
| 193 bool isChromeClientImpl() const override { return true; } | 195 bool isChromeClientImpl() const override { return true; } |
| 194 void registerPopupOpeningObserver(PopupOpeningObserver*) override; | 196 void registerPopupOpeningObserver(PopupOpeningObserver*) override; |
| 195 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; | 197 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; |
| 196 | 198 |
| 197 void notifyPopupOpeningObservers() const; | 199 void notifyPopupOpeningObservers() const; |
| 198 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); | 200 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); |
| 199 | 201 |
| 200 WebViewImpl* m_webView; // Weak pointer. | 202 WebViewImpl* m_webView; // Weak pointer. |
| 201 WindowFeatures m_windowFeatures; | 203 WindowFeatures m_windowFeatures; |
| 202 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 204 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 203 Cursor m_lastSetMouseCursorForTesting; | 205 Cursor m_lastSetMouseCursorForTesting; |
| 204 bool m_cursorOverridden; | 206 bool m_cursorOverridden; |
| 205 bool m_didRequestNonEmptyToolTip; | 207 bool m_didRequestNonEmptyToolTip; |
| 206 }; | 208 }; |
| 207 | 209 |
| 208 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 209 | 211 |
| 210 } // namespace blink | 212 } // namespace blink |
| 211 | 213 |
| 212 #endif | 214 #endif |
| OLD | NEW |