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