| 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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 if (WebViewClient* client = m_webView->client()) | 1060 if (WebViewClient* client = m_webView->client()) |
| 1061 client->draggableRegionsChanged(); | 1061 client->draggableRegionsChanged(); |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 void ChromeClientImpl::didAssociateFormControlsAfterLoad(LocalFrame* frame) { | 1064 void ChromeClientImpl::didAssociateFormControlsAfterLoad(LocalFrame* frame) { |
| 1065 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); | 1065 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); |
| 1066 if (webframe->autofillClient()) | 1066 if (webframe->autofillClient()) |
| 1067 webframe->autofillClient()->didAssociateFormControlsDynamically(); | 1067 webframe->autofillClient()->didAssociateFormControlsDynamically(); |
| 1068 } | 1068 } |
| 1069 | 1069 |
| 1070 void ChromeClientImpl::resetInputMethod() { | |
| 1071 if (m_webView->client()) | |
| 1072 m_webView->client()->resetInputMethod(); | |
| 1073 } | |
| 1074 | |
| 1075 void ChromeClientImpl::showVirtualKeyboardOnElementFocus() { | 1070 void ChromeClientImpl::showVirtualKeyboardOnElementFocus() { |
| 1076 if (m_webView->client()) | 1071 if (m_webView->client()) |
| 1077 m_webView->client()->showVirtualKeyboardOnElementFocus(); | 1072 m_webView->client()->showVirtualKeyboardOnElementFocus(); |
| 1078 } | 1073 } |
| 1079 | 1074 |
| 1080 void ChromeClientImpl::showUnhandledTapUIIfNeeded( | 1075 void ChromeClientImpl::showUnhandledTapUIIfNeeded( |
| 1081 IntPoint tappedPositionInViewport, | 1076 IntPoint tappedPositionInViewport, |
| 1082 Node* tappedNode, | 1077 Node* tappedNode, |
| 1083 bool pageChanged) { | 1078 bool pageChanged) { |
| 1084 if (m_webView->client()) | 1079 if (m_webView->client()) |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1224 PresentationController::provideTo(frame, client->presentationClient()); | 1219 PresentationController::provideTo(frame, client->presentationClient()); |
| 1225 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1220 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
| 1226 provideAudioOutputDeviceClientTo(frame, | 1221 provideAudioOutputDeviceClientTo(frame, |
| 1227 new AudioOutputDeviceClientImpl(frame)); | 1222 new AudioOutputDeviceClientImpl(frame)); |
| 1228 } | 1223 } |
| 1229 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1224 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1230 InstalledAppController::provideTo(frame, client->relatedAppsFetcher()); | 1225 InstalledAppController::provideTo(frame, client->relatedAppsFetcher()); |
| 1231 } | 1226 } |
| 1232 | 1227 |
| 1233 } // namespace blink | 1228 } // namespace blink |
| OLD | NEW |