OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 #include "core/paint/PaintLayer.h" | 150 #include "core/paint/PaintLayer.h" |
151 #include "core/paint/TransformRecorder.h" | 151 #include "core/paint/TransformRecorder.h" |
152 #include "core/style/StyleInheritedData.h" | 152 #include "core/style/StyleInheritedData.h" |
153 #include "core/timing/DOMWindowPerformance.h" | 153 #include "core/timing/DOMWindowPerformance.h" |
154 #include "core/timing/Performance.h" | 154 #include "core/timing/Performance.h" |
155 #include "modules/app_banner/AppBannerController.h" | 155 #include "modules/app_banner/AppBannerController.h" |
156 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" | 156 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" |
157 #include "modules/bluetooth/BluetoothSupplement.h" | 157 #include "modules/bluetooth/BluetoothSupplement.h" |
158 #include "modules/installedapp/InstalledAppController.h" | 158 #include "modules/installedapp/InstalledAppController.h" |
159 #include "modules/notifications/NotificationPermissionClient.h" | 159 #include "modules/notifications/NotificationPermissionClient.h" |
160 #include "modules/permissions/PermissionController.h" | |
161 #include "modules/presentation/PresentationController.h" | 160 #include "modules/presentation/PresentationController.h" |
162 #include "modules/push_messaging/PushController.h" | 161 #include "modules/push_messaging/PushController.h" |
163 #include "modules/screen_orientation/ScreenOrientationController.h" | 162 #include "modules/screen_orientation/ScreenOrientationController.h" |
164 #include "modules/vr/VRController.h" | 163 #include "modules/vr/VRController.h" |
165 #include "modules/wake_lock/ScreenWakeLock.h" | 164 #include "modules/wake_lock/ScreenWakeLock.h" |
166 #include "platform/ScriptForbiddenScope.h" | 165 #include "platform/ScriptForbiddenScope.h" |
167 #include "platform/TraceEvent.h" | 166 #include "platform/TraceEvent.h" |
168 #include "platform/UserGestureIndicator.h" | 167 #include "platform/UserGestureIndicator.h" |
169 #include "platform/clipboard/ClipboardUtilities.h" | 168 #include "platform/clipboard/ClipboardUtilities.h" |
170 #include "platform/fonts/FontCache.h" | 169 #include "platform/fonts/FontCache.h" |
(...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 #if OS(CHROMEOS) || OS(ANDROID) || OS(MACOSX) | 1476 #if OS(CHROMEOS) || OS(ANDROID) || OS(MACOSX) |
1478 enableWebBluetooth = true; | 1477 enableWebBluetooth = true; |
1479 #endif | 1478 #endif |
1480 if (enableWebBluetooth) | 1479 if (enableWebBluetooth) |
1481 BluetoothSupplement::provideTo(*m_frame, m_client ? m_client->bluetooth(
) : nullptr); | 1480 BluetoothSupplement::provideTo(*m_frame, m_client ? m_client->bluetooth(
) : nullptr); |
1482 | 1481 |
1483 if (RuntimeEnabledFeatures::screenOrientationEnabled()) | 1482 if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
1484 ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->we
bScreenOrientationClient() : nullptr); | 1483 ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->we
bScreenOrientationClient() : nullptr); |
1485 if (RuntimeEnabledFeatures::presentationEnabled()) | 1484 if (RuntimeEnabledFeatures::presentationEnabled()) |
1486 PresentationController::provideTo(*m_frame, m_client ? m_client->present
ationClient() : nullptr); | 1485 PresentationController::provideTo(*m_frame, m_client ? m_client->present
ationClient() : nullptr); |
1487 if (RuntimeEnabledFeatures::permissionsEnabled()) | |
1488 PermissionController::provideTo(*m_frame, m_client ? m_client->permissio
nClient() : nullptr); | |
1489 if (RuntimeEnabledFeatures::webVREnabled()) | 1486 if (RuntimeEnabledFeatures::webVREnabled()) |
1490 VRController::provideTo(*m_frame, m_client ? m_client->serviceRegistry()
: nullptr); | 1487 VRController::provideTo(*m_frame, m_client ? m_client->serviceRegistry()
: nullptr); |
1491 if (RuntimeEnabledFeatures::wakeLockEnabled()) | 1488 if (RuntimeEnabledFeatures::wakeLockEnabled()) |
1492 ScreenWakeLock::provideTo(*m_frame, m_client ? m_client->serviceRegistry
(): nullptr); | 1489 ScreenWakeLock::provideTo(*m_frame, m_client ? m_client->serviceRegistry
(): nullptr); |
1493 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) | 1490 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |
1494 provideAudioOutputDeviceClientTo(*m_frame, AudioOutputDeviceClientImpl::
create()); | 1491 provideAudioOutputDeviceClientTo(*m_frame, AudioOutputDeviceClientImpl::
create()); |
1495 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1492 if (RuntimeEnabledFeatures::installedAppEnabled()) |
1496 InstalledAppController::provideTo(*m_frame, m_client ? m_client->install
edAppClient() : nullptr); | 1493 InstalledAppController::provideTo(*m_frame, m_client ? m_client->install
edAppClient() : nullptr); |
1497 } | 1494 } |
1498 | 1495 |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2161 { | 2158 { |
2162 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2159 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
2163 } | 2160 } |
2164 | 2161 |
2165 void WebLocalFrameImpl::clearActiveFindMatch() | 2162 void WebLocalFrameImpl::clearActiveFindMatch() |
2166 { | 2163 { |
2167 ensureTextFinder().clearActiveFindMatch(); | 2164 ensureTextFinder().clearActiveFindMatch(); |
2168 } | 2165 } |
2169 | 2166 |
2170 } // namespace blink | 2167 } // namespace blink |
OLD | NEW |