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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "core/html/forms/DateTimeChooser.h" | 48 #include "core/html/forms/DateTimeChooser.h" |
49 #include "core/layout/HitTestResult.h" | 49 #include "core/layout/HitTestResult.h" |
50 #include "core/layout/LayoutPart.h" | 50 #include "core/layout/LayoutPart.h" |
51 #include "core/layout/compositing/CompositedSelection.h" | 51 #include "core/layout/compositing/CompositedSelection.h" |
52 #include "core/loader/DocumentLoader.h" | 52 #include "core/loader/DocumentLoader.h" |
53 #include "core/loader/FrameLoadRequest.h" | 53 #include "core/loader/FrameLoadRequest.h" |
54 #include "core/page/Page.h" | 54 #include "core/page/Page.h" |
55 #include "core/page/PopupOpeningObserver.h" | 55 #include "core/page/PopupOpeningObserver.h" |
56 #include "modules/accessibility/AXObject.h" | 56 #include "modules/accessibility/AXObject.h" |
57 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" | 57 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" |
58 #include "modules/bluetooth/BluetoothSupplement.h" | |
59 #include "modules/installedapp/InstalledAppController.h" | 58 #include "modules/installedapp/InstalledAppController.h" |
60 #include "modules/mediastream/UserMediaController.h" | 59 #include "modules/mediastream/UserMediaController.h" |
61 #include "modules/presentation/PresentationController.h" | 60 #include "modules/presentation/PresentationController.h" |
62 #include "modules/push_messaging/PushController.h" | 61 #include "modules/push_messaging/PushController.h" |
63 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h" | 62 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h" |
64 #include "modules/vr/VRController.h" | 63 #include "modules/vr/VRController.h" |
65 #include "platform/Cursor.h" | 64 #include "platform/Cursor.h" |
66 #include "platform/FileChooser.h" | 65 #include "platform/FileChooser.h" |
67 #include "platform/Histogram.h" | 66 #include "platform/Histogram.h" |
68 #include "platform/KeyboardCodes.h" | 67 #include "platform/KeyboardCodes.h" |
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 WebFrameClient* client = webFrame->client(); | 1140 WebFrameClient* client = webFrame->client(); |
1142 DCHECK(client); | 1141 DCHECK(client); |
1143 providePushControllerTo(frame, client->pushClient()); | 1142 providePushControllerTo(frame, client->pushClient()); |
1144 provideUserMediaTo(frame, | 1143 provideUserMediaTo(frame, |
1145 UserMediaClientImpl::create(client->userMediaClient())); | 1144 UserMediaClientImpl::create(client->userMediaClient())); |
1146 provideIndexedDBClientTo(frame, IndexedDBClientImpl::create()); | 1145 provideIndexedDBClientTo(frame, IndexedDBClientImpl::create()); |
1147 provideLocalFileSystemTo(frame, LocalFileSystemClient::create()); | 1146 provideLocalFileSystemTo(frame, LocalFileSystemClient::create()); |
1148 provideNavigatorContentUtilsTo( | 1147 provideNavigatorContentUtilsTo( |
1149 frame, NavigatorContentUtilsClientImpl::create(webFrame)); | 1148 frame, NavigatorContentUtilsClientImpl::create(webFrame)); |
1150 | 1149 |
1151 if (RuntimeEnabledFeatures::webBluetoothEnabled()) | |
1152 BluetoothSupplement::provideTo(frame, client->bluetooth()); | |
1153 | |
1154 ScreenOrientationControllerImpl::provideTo( | 1150 ScreenOrientationControllerImpl::provideTo( |
1155 frame, client->webScreenOrientationClient()); | 1151 frame, client->webScreenOrientationClient()); |
1156 if (RuntimeEnabledFeatures::presentationEnabled()) | 1152 if (RuntimeEnabledFeatures::presentationEnabled()) |
1157 PresentationController::provideTo(frame, client->presentationClient()); | 1153 PresentationController::provideTo(frame, client->presentationClient()); |
1158 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) | 1154 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |
1159 provideAudioOutputDeviceClientTo(frame, | 1155 provideAudioOutputDeviceClientTo(frame, |
1160 AudioOutputDeviceClientImpl::create()); | 1156 AudioOutputDeviceClientImpl::create()); |
1161 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1157 if (RuntimeEnabledFeatures::installedAppEnabled()) |
1162 InstalledAppController::provideTo(frame, client->installedAppClient()); | 1158 InstalledAppController::provideTo(frame, client->installedAppClient()); |
1163 } | 1159 } |
1164 | 1160 |
1165 } // namespace blink | 1161 } // namespace blink |
OLD | NEW |