| 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 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 DCHECK(client); | 1211 DCHECK(client); |
| 1212 providePushControllerTo(frame, client->pushClient()); | 1212 providePushControllerTo(frame, client->pushClient()); |
| 1213 provideUserMediaTo(frame, | 1213 provideUserMediaTo(frame, |
| 1214 UserMediaClientImpl::create(client->userMediaClient())); | 1214 UserMediaClientImpl::create(client->userMediaClient())); |
| 1215 provideIndexedDBClientTo(frame, IndexedDBClientImpl::create(frame)); | 1215 provideIndexedDBClientTo(frame, IndexedDBClientImpl::create(frame)); |
| 1216 provideLocalFileSystemTo(frame, LocalFileSystemClient::create()); | 1216 provideLocalFileSystemTo(frame, LocalFileSystemClient::create()); |
| 1217 NavigatorContentUtils::provideTo( | 1217 NavigatorContentUtils::provideTo( |
| 1218 *frame.domWindow()->navigator(), | 1218 *frame.domWindow()->navigator(), |
| 1219 NavigatorContentUtilsClientImpl::create(webFrame)); | 1219 NavigatorContentUtilsClientImpl::create(webFrame)); |
| 1220 | 1220 |
| 1221 ScreenOrientationControllerImpl::provideTo( | 1221 ScreenOrientationControllerImpl::provideTo(frame); |
| 1222 frame, client->webScreenOrientationClient()); | |
| 1223 if (RuntimeEnabledFeatures::presentationEnabled()) | 1222 if (RuntimeEnabledFeatures::presentationEnabled()) |
| 1224 PresentationController::provideTo(frame, client->presentationClient()); | 1223 PresentationController::provideTo(frame, client->presentationClient()); |
| 1225 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1224 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
| 1226 provideAudioOutputDeviceClientTo(frame, | 1225 provideAudioOutputDeviceClientTo(frame, |
| 1227 new AudioOutputDeviceClientImpl(frame)); | 1226 new AudioOutputDeviceClientImpl(frame)); |
| 1228 } | 1227 } |
| 1229 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1228 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1230 InstalledAppController::provideTo(frame, client->installedAppClient()); | 1229 InstalledAppController::provideTo(frame, client->installedAppClient()); |
| 1231 } | 1230 } |
| 1232 | 1231 |
| 1233 } // namespace blink | 1232 } // namespace blink |
| OLD | NEW |