| 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 void ChromeClientImpl::didCancelCompositionOnSelectionChange() { | 1010 void ChromeClientImpl::didCancelCompositionOnSelectionChange() { |
| 1011 if (m_webView->client()) | 1011 if (m_webView->client()) |
| 1012 m_webView->client()->didCancelCompositionOnSelectionChange(); | 1012 m_webView->client()->didCancelCompositionOnSelectionChange(); |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 void ChromeClientImpl::willSetInputMethodState() { | 1015 void ChromeClientImpl::willSetInputMethodState() { |
| 1016 if (m_webView->client()) | 1016 if (m_webView->client()) |
| 1017 m_webView->client()->resetInputMethod(); | 1017 m_webView->client()->resetInputMethod(); |
| 1018 } | 1018 } |
| 1019 | 1019 |
| 1020 void ChromeClientImpl::didUpdateTextOfFocusedElementByNonUserInput( | |
| 1021 LocalFrame& frame) { | |
| 1022 WebLocalFrameImpl* webFrame = | |
| 1023 WebLocalFrameImpl::fromFrame(frame.localFrameRoot()); | |
| 1024 webFrame->frameWidget() | |
| 1025 ->client() | |
| 1026 ->didUpdateTextOfFocusedElementByNonUserInput(); | |
| 1027 } | |
| 1028 | |
| 1029 void ChromeClientImpl::showImeIfNeeded() { | 1020 void ChromeClientImpl::showImeIfNeeded() { |
| 1030 if (m_webView->client()) | 1021 if (m_webView->client()) |
| 1031 m_webView->client()->showImeIfNeeded(); | 1022 m_webView->client()->showImeIfNeeded(); |
| 1032 } | 1023 } |
| 1033 | 1024 |
| 1034 void ChromeClientImpl::showUnhandledTapUIIfNeeded( | 1025 void ChromeClientImpl::showUnhandledTapUIIfNeeded( |
| 1035 IntPoint tappedPositionInViewport, | 1026 IntPoint tappedPositionInViewport, |
| 1036 Node* tappedNode, | 1027 Node* tappedNode, |
| 1037 bool pageChanged) { | 1028 bool pageChanged) { |
| 1038 if (m_webView->client()) | 1029 if (m_webView->client()) |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 if (RuntimeEnabledFeatures::presentationEnabled()) | 1161 if (RuntimeEnabledFeatures::presentationEnabled()) |
| 1171 PresentationController::provideTo(frame, client->presentationClient()); | 1162 PresentationController::provideTo(frame, client->presentationClient()); |
| 1172 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) | 1163 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |
| 1173 provideAudioOutputDeviceClientTo(frame, | 1164 provideAudioOutputDeviceClientTo(frame, |
| 1174 AudioOutputDeviceClientImpl::create()); | 1165 AudioOutputDeviceClientImpl::create()); |
| 1175 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1166 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1176 InstalledAppController::provideTo(frame, client->installedAppClient()); | 1167 InstalledAppController::provideTo(frame, client->installedAppClient()); |
| 1177 } | 1168 } |
| 1178 | 1169 |
| 1179 } // namespace blink | 1170 } // namespace blink |
| OLD | NEW |