| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 std::unique_ptr<WebFrameScheduler> createFrameScheduler( | 215 std::unique_ptr<WebFrameScheduler> createFrameScheduler( |
| 216 BlameContext*) override; | 216 BlameContext*) override; |
| 217 | 217 |
| 218 double lastFrameTimeMonotonic() const override; | 218 double lastFrameTimeMonotonic() const override; |
| 219 | 219 |
| 220 void notifyPopupOpeningObservers() const; | 220 void notifyPopupOpeningObservers() const; |
| 221 | 221 |
| 222 void installSupplements(LocalFrame&) override; | 222 void installSupplements(LocalFrame&) override; |
| 223 | 223 |
| 224 WebLayerTreeView* getWebLayerTreeView() override; |
| 225 |
| 224 private: | 226 private: |
| 225 explicit ChromeClientImpl(WebViewImpl*); | 227 explicit ChromeClientImpl(WebViewImpl*); |
| 226 | 228 |
| 227 bool isChromeClientImpl() const override { return true; } | 229 bool isChromeClientImpl() const override { return true; } |
| 228 void registerPopupOpeningObserver(PopupOpeningObserver*) override; | 230 void registerPopupOpeningObserver(PopupOpeningObserver*) override; |
| 229 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; | 231 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; |
| 230 | 232 |
| 231 void setCursor(const WebCursorInfo&, LocalFrame*); | 233 void setCursor(const WebCursorInfo&, LocalFrame*); |
| 232 | 234 |
| 233 WebViewImpl* m_webView; // Weak pointer. | 235 WebViewImpl* m_webView; // Weak pointer. |
| 234 WindowFeatures m_windowFeatures; | 236 WindowFeatures m_windowFeatures; |
| 235 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 237 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 236 Cursor m_lastSetMouseCursorForTesting; | 238 Cursor m_lastSetMouseCursorForTesting; |
| 237 bool m_cursorOverridden; | 239 bool m_cursorOverridden; |
| 238 bool m_didRequestNonEmptyToolTip; | 240 bool m_didRequestNonEmptyToolTip; |
| 239 }; | 241 }; |
| 240 | 242 |
| 241 DEFINE_TYPE_CASTS(ChromeClientImpl, | 243 DEFINE_TYPE_CASTS(ChromeClientImpl, |
| 242 ChromeClient, | 244 ChromeClient, |
| 243 client, | 245 client, |
| 244 client->isChromeClientImpl(), | 246 client->isChromeClientImpl(), |
| 245 client.isChromeClientImpl()); | 247 client.isChromeClientImpl()); |
| 246 | 248 |
| 247 } // namespace blink | 249 } // namespace blink |
| 248 | 250 |
| 249 #endif | 251 #endif |
| OLD | NEW |