| 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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); | 1011 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); |
| 1012 if (webframe->autofillClient()) | 1012 if (webframe->autofillClient()) |
| 1013 webframe->autofillClient()->didAssociateFormControlsDynamically(); | 1013 webframe->autofillClient()->didAssociateFormControlsDynamically(); |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 void ChromeClientImpl::didCancelCompositionOnSelectionChange() { | 1016 void ChromeClientImpl::didCancelCompositionOnSelectionChange() { |
| 1017 if (m_webView->client()) | 1017 if (m_webView->client()) |
| 1018 m_webView->client()->didCancelCompositionOnSelectionChange(); | 1018 m_webView->client()->didCancelCompositionOnSelectionChange(); |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 void ChromeClientImpl::resetInputMethod() { |
| 1022 if (m_webView->client()) |
| 1023 m_webView->client()->resetInputMethod(); |
| 1024 } |
| 1025 |
| 1021 void ChromeClientImpl::showVirtualKeyboard() { | 1026 void ChromeClientImpl::showVirtualKeyboard() { |
| 1022 if (m_webView->client()) | 1027 if (m_webView->client()) |
| 1023 m_webView->client()->showVirtualKeyboard(); | 1028 m_webView->client()->showVirtualKeyboard(); |
| 1024 } | 1029 } |
| 1025 | 1030 |
| 1026 void ChromeClientImpl::showUnhandledTapUIIfNeeded( | 1031 void ChromeClientImpl::showUnhandledTapUIIfNeeded( |
| 1027 IntPoint tappedPositionInViewport, | 1032 IntPoint tappedPositionInViewport, |
| 1028 Node* tappedNode, | 1033 Node* tappedNode, |
| 1029 bool pageChanged) { | 1034 bool pageChanged) { |
| 1030 if (m_webView->client()) | 1035 if (m_webView->client()) |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 PresentationController::provideTo(frame, client->presentationClient()); | 1166 PresentationController::provideTo(frame, client->presentationClient()); |
| 1162 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1167 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
| 1163 provideAudioOutputDeviceClientTo(frame, | 1168 provideAudioOutputDeviceClientTo(frame, |
| 1164 new AudioOutputDeviceClientImpl(frame)); | 1169 new AudioOutputDeviceClientImpl(frame)); |
| 1165 } | 1170 } |
| 1166 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1171 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1167 InstalledAppController::provideTo(frame, client->installedAppClient()); | 1172 InstalledAppController::provideTo(frame, client->installedAppClient()); |
| 1168 } | 1173 } |
| 1169 | 1174 |
| 1170 } // namespace blink | 1175 } // namespace blink |
| OLD | NEW |