| 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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 return m_webView->elasticOverscroll(); | 1135 return m_webView->elasticOverscroll(); |
| 1136 } | 1136 } |
| 1137 | 1137 |
| 1138 void ChromeClientImpl::didObserveNonGetFetchFromScript() const { | 1138 void ChromeClientImpl::didObserveNonGetFetchFromScript() const { |
| 1139 if (m_webView->pageImportanceSignals()) | 1139 if (m_webView->pageImportanceSignals()) |
| 1140 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); | 1140 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 std::unique_ptr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler( | 1143 std::unique_ptr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler( |
| 1144 BlameContext* blameContext) { | 1144 BlameContext* blameContext) { |
| 1145 return wrapUnique( | 1145 return WTF::wrapUnique( |
| 1146 m_webView->scheduler()->createFrameScheduler(blameContext).release()); | 1146 m_webView->scheduler()->createFrameScheduler(blameContext).release()); |
| 1147 } | 1147 } |
| 1148 | 1148 |
| 1149 double ChromeClientImpl::lastFrameTimeMonotonic() const { | 1149 double ChromeClientImpl::lastFrameTimeMonotonic() const { |
| 1150 return m_webView->lastFrameTimeMonotonic(); | 1150 return m_webView->lastFrameTimeMonotonic(); |
| 1151 } | 1151 } |
| 1152 | 1152 |
| 1153 void ChromeClientImpl::installSupplements(LocalFrame& frame) { | 1153 void ChromeClientImpl::installSupplements(LocalFrame& frame) { |
| 1154 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(&frame); | 1154 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(&frame); |
| 1155 WebFrameClient* client = webFrame->client(); | 1155 WebFrameClient* client = webFrame->client(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1170 if (RuntimeEnabledFeatures::presentationEnabled()) | 1170 if (RuntimeEnabledFeatures::presentationEnabled()) |
| 1171 PresentationController::provideTo(frame, client->presentationClient()); | 1171 PresentationController::provideTo(frame, client->presentationClient()); |
| 1172 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) | 1172 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |
| 1173 provideAudioOutputDeviceClientTo(frame, | 1173 provideAudioOutputDeviceClientTo(frame, |
| 1174 AudioOutputDeviceClientImpl::create()); | 1174 AudioOutputDeviceClientImpl::create()); |
| 1175 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1175 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1176 InstalledAppController::provideTo(frame, client->installedAppClient()); | 1176 InstalledAppController::provideTo(frame, client->installedAppClient()); |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 } // namespace blink | 1179 } // namespace blink |
| OLD | NEW |