Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: check if binding is bound before close it Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 WebFrameClient* client = webFrame->client(); 1145 WebFrameClient* client = webFrame->client();
1147 DCHECK(client); 1146 DCHECK(client);
1148 providePushControllerTo(frame, client->pushClient()); 1147 providePushControllerTo(frame, client->pushClient());
1149 provideUserMediaTo(frame, 1148 provideUserMediaTo(frame,
1150 UserMediaClientImpl::create(client->userMediaClient())); 1149 UserMediaClientImpl::create(client->userMediaClient()));
1151 provideIndexedDBClientTo(frame, IndexedDBClientImpl::create()); 1150 provideIndexedDBClientTo(frame, IndexedDBClientImpl::create());
1152 provideLocalFileSystemTo(frame, LocalFileSystemClient::create()); 1151 provideLocalFileSystemTo(frame, LocalFileSystemClient::create());
1153 provideNavigatorContentUtilsTo( 1152 provideNavigatorContentUtilsTo(
1154 frame, NavigatorContentUtilsClientImpl::create(webFrame)); 1153 frame, NavigatorContentUtilsClientImpl::create(webFrame));
1155 1154
1156 if (RuntimeEnabledFeatures::webBluetoothEnabled())
1157 BluetoothSupplement::provideTo(frame, client->bluetooth());
1158
1159 ScreenOrientationControllerImpl::provideTo( 1155 ScreenOrientationControllerImpl::provideTo(
1160 frame, client->webScreenOrientationClient()); 1156 frame, client->webScreenOrientationClient());
1161 if (RuntimeEnabledFeatures::presentationEnabled()) 1157 if (RuntimeEnabledFeatures::presentationEnabled())
1162 PresentationController::provideTo(frame, client->presentationClient()); 1158 PresentationController::provideTo(frame, client->presentationClient());
1163 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) 1159 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled())
1164 provideAudioOutputDeviceClientTo(frame, 1160 provideAudioOutputDeviceClientTo(frame,
1165 AudioOutputDeviceClientImpl::create()); 1161 AudioOutputDeviceClientImpl::create());
1166 if (RuntimeEnabledFeatures::installedAppEnabled()) 1162 if (RuntimeEnabledFeatures::installedAppEnabled())
1167 InstalledAppController::provideTo(frame, client->installedAppClient()); 1163 InstalledAppController::provideTo(frame, client->installedAppClient());
1168 } 1164 }
1169 1165
1170 } // namespace blink 1166 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698