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 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 m_popupOpeningObservers.remove(index); | 982 m_popupOpeningObservers.remove(index); |
983 } | 983 } |
984 | 984 |
985 void ChromeClientImpl::notifyPopupOpeningObservers() const | 985 void ChromeClientImpl::notifyPopupOpeningObservers() const |
986 { | 986 { |
987 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); | 987 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); |
988 for (const auto& observer : observers) | 988 for (const auto& observer : observers) |
989 observer->willOpenPopup(); | 989 observer->willOpenPopup(); |
990 } | 990 } |
991 | 991 |
| 992 bool ChromeClientImpl::disableThreadedParsingForUnitTests() const |
| 993 { |
| 994 return m_webView->client() && m_webView->client()->disableThreadedParsingFor
UnitTests(); |
| 995 } |
| 996 |
992 FloatSize ChromeClientImpl::elasticOverscroll() const | 997 FloatSize ChromeClientImpl::elasticOverscroll() const |
993 { | 998 { |
994 return m_webView->elasticOverscroll(); | 999 return m_webView->elasticOverscroll(); |
995 } | 1000 } |
996 | 1001 |
997 } // namespace blink | 1002 } // namespace blink |
OLD | NEW |