| 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 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1476 provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create()); | 1476 provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create()); |
| 1477 provideNavigatorContentUtilsTo(*m_frame, NavigatorContentUtilsClientImpl::cr
eate(this)); | 1477 provideNavigatorContentUtilsTo(*m_frame, NavigatorContentUtilsClientImpl::cr
eate(this)); |
| 1478 | 1478 |
| 1479 bool enableWebBluetooth = RuntimeEnabledFeatures::webBluetoothEnabled(); | 1479 bool enableWebBluetooth = RuntimeEnabledFeatures::webBluetoothEnabled(); |
| 1480 #if OS(CHROMEOS) || OS(ANDROID) || OS(MACOSX) | 1480 #if OS(CHROMEOS) || OS(ANDROID) || OS(MACOSX) |
| 1481 enableWebBluetooth = true; | 1481 enableWebBluetooth = true; |
| 1482 #endif | 1482 #endif |
| 1483 if (enableWebBluetooth) | 1483 if (enableWebBluetooth) |
| 1484 BluetoothSupplement::provideTo(*m_frame, m_client ? m_client->bluetooth(
) : nullptr); | 1484 BluetoothSupplement::provideTo(*m_frame, m_client ? m_client->bluetooth(
) : nullptr); |
| 1485 | 1485 |
| 1486 if (RuntimeEnabledFeatures::screenOrientationEnabled()) | 1486 ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->webScr
eenOrientationClient() : nullptr); |
| 1487 ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->we
bScreenOrientationClient() : nullptr); | |
| 1488 if (RuntimeEnabledFeatures::presentationEnabled()) | 1487 if (RuntimeEnabledFeatures::presentationEnabled()) |
| 1489 PresentationController::provideTo(*m_frame, m_client ? m_client->present
ationClient() : nullptr); | 1488 PresentationController::provideTo(*m_frame, m_client ? m_client->present
ationClient() : nullptr); |
| 1490 if (RuntimeEnabledFeatures::webVREnabled()) | 1489 if (RuntimeEnabledFeatures::webVREnabled()) |
| 1491 VRController::provideTo(*m_frame, m_client ? m_client->serviceRegistry()
: nullptr); | 1490 VRController::provideTo(*m_frame, m_client ? m_client->serviceRegistry()
: nullptr); |
| 1492 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) | 1491 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |
| 1493 provideAudioOutputDeviceClientTo(*m_frame, AudioOutputDeviceClientImpl::
create()); | 1492 provideAudioOutputDeviceClientTo(*m_frame, AudioOutputDeviceClientImpl::
create()); |
| 1494 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1493 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1495 InstalledAppController::provideTo(*m_frame, m_client ? m_client->install
edAppClient() : nullptr); | 1494 InstalledAppController::provideTo(*m_frame, m_client ? m_client->install
edAppClient() : nullptr); |
| 1496 } | 1495 } |
| 1497 | 1496 |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2154 { | 2153 { |
| 2155 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2154 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
| 2156 } | 2155 } |
| 2157 | 2156 |
| 2158 void WebLocalFrameImpl::clearActiveFindMatch() | 2157 void WebLocalFrameImpl::clearActiveFindMatch() |
| 2159 { | 2158 { |
| 2160 ensureTextFinder().clearActiveFindMatch(); | 2159 ensureTextFinder().clearActiveFindMatch(); |
| 2161 } | 2160 } |
| 2162 | 2161 |
| 2163 } // namespace blink | 2162 } // namespace blink |
| OLD | NEW |