| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 private: | 183 private: |
| 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&); | 189 void setCursor(const WebCursorInfo&); |
| 190 | 190 |
| 191 WebViewImpl* m_webView; // weak pointer | 191 WebViewImpl* m_webView; // weak pointer |
| 192 WindowFeatures m_windowFeatures; | 192 WindowFeatures m_windowFeatures; |
| 193 | |
| 194 PagePopupDriver* m_pagePopupDriver; | |
| 195 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 193 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 196 }; | 194 }; |
| 197 | 195 |
| 198 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 199 | 197 |
| 200 } // namespace blink | 198 } // namespace blink |
| 201 | 199 |
| 202 #endif | 200 #endif |
| OLD | NEW |