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