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