| 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 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1072 if (WebViewClient* client = web_view_->Client()) | 1072 if (WebViewClient* client = web_view_->Client()) |
| 1073 client->DraggableRegionsChanged(); | 1073 client->DraggableRegionsChanged(); |
| 1074 } | 1074 } |
| 1075 | 1075 |
| 1076 void ChromeClientImpl::DidAssociateFormControlsAfterLoad(LocalFrame* frame) { | 1076 void ChromeClientImpl::DidAssociateFormControlsAfterLoad(LocalFrame* frame) { |
| 1077 WebLocalFrameImpl* webframe = WebLocalFrameImpl::FromFrame(frame); | 1077 WebLocalFrameImpl* webframe = WebLocalFrameImpl::FromFrame(frame); |
| 1078 if (webframe->AutofillClient()) | 1078 if (webframe->AutofillClient()) |
| 1079 webframe->AutofillClient()->DidAssociateFormControlsDynamically(); | 1079 webframe->AutofillClient()->DidAssociateFormControlsDynamically(); |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 void ChromeClientImpl::DidCancelCompositionOnSelectionChange() { |
| 1083 if (web_view_->Client()) |
| 1084 web_view_->Client()->DidCancelCompositionOnSelectionChange(); |
| 1085 } |
| 1086 |
| 1082 void ChromeClientImpl::ShowVirtualKeyboardOnElementFocus(LocalFrame& frame) { | 1087 void ChromeClientImpl::ShowVirtualKeyboardOnElementFocus(LocalFrame& frame) { |
| 1083 WebLocalFrameImpl::FromFrame(frame.LocalFrameRoot()) | 1088 WebLocalFrameImpl::FromFrame(frame.LocalFrameRoot()) |
| 1084 ->FrameWidget() | 1089 ->FrameWidget() |
| 1085 ->Client() | 1090 ->Client() |
| 1086 ->ShowVirtualKeyboardOnElementFocus(); | 1091 ->ShowVirtualKeyboardOnElementFocus(); |
| 1087 } | 1092 } |
| 1088 | 1093 |
| 1089 void ChromeClientImpl::ShowUnhandledTapUIIfNeeded( | 1094 void ChromeClientImpl::ShowUnhandledTapUIIfNeeded( |
| 1090 IntPoint tapped_position_in_viewport, | 1095 IntPoint tapped_position_in_viewport, |
| 1091 Node* tapped_node, | 1096 Node* tapped_node, |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 if (RuntimeEnabledFeatures::presentationEnabled()) | 1238 if (RuntimeEnabledFeatures::presentationEnabled()) |
| 1234 PresentationController::ProvideTo(frame, client->PresentationClient()); | 1239 PresentationController::ProvideTo(frame, client->PresentationClient()); |
| 1235 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1240 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
| 1236 ProvideAudioOutputDeviceClientTo(frame, | 1241 ProvideAudioOutputDeviceClientTo(frame, |
| 1237 new AudioOutputDeviceClientImpl(frame)); | 1242 new AudioOutputDeviceClientImpl(frame)); |
| 1238 } | 1243 } |
| 1239 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); | 1244 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); |
| 1240 } | 1245 } |
| 1241 | 1246 |
| 1242 } // namespace blink | 1247 } // namespace blink |
| OLD | NEW |