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