| 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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 WebLocalFrameImpl::FromFrame(frame.LocalFrameRoot()) | 1083 WebLocalFrameImpl::FromFrame(frame.LocalFrameRoot()) |
| 1084 ->FrameWidget() | 1084 ->FrameWidget() |
| 1085 ->Client() | 1085 ->Client() |
| 1086 ->ShowVirtualKeyboardOnElementFocus(); | 1086 ->ShowVirtualKeyboardOnElementFocus(); |
| 1087 } | 1087 } |
| 1088 | 1088 |
| 1089 void ChromeClientImpl::ShowUnhandledTapUIIfNeeded( | 1089 void ChromeClientImpl::ShowUnhandledTapUIIfNeeded( |
| 1090 IntPoint tapped_position_in_viewport, | 1090 IntPoint tapped_position_in_viewport, |
| 1091 Node* tapped_node, | 1091 Node* tapped_node, |
| 1092 bool page_changed) { | 1092 bool page_changed) { |
| 1093 VLOG(0) << "ctxs ChromeClientImpl::ShowUnhandledTapUIIfNeeded"; |
| 1093 if (web_view_->Client()) | 1094 if (web_view_->Client()) |
| 1095 VLOG(0) << "ctxs ChromeClientImpl::ShowUnhandledTapUIIfNeeded calling client
"; |
| 1094 web_view_->Client()->ShowUnhandledTapUIIfNeeded( | 1096 web_view_->Client()->ShowUnhandledTapUIIfNeeded( |
| 1095 WebPoint(tapped_position_in_viewport), WebNode(tapped_node), | 1097 WebPoint(tapped_position_in_viewport), WebNode(tapped_node), |
| 1096 page_changed); | 1098 page_changed); |
| 1097 } | 1099 } |
| 1098 | 1100 |
| 1099 void ChromeClientImpl::OnMouseDown(Node* mouse_down_node) { | 1101 void ChromeClientImpl::OnMouseDown(Node* mouse_down_node) { |
| 1100 if (web_view_->Client()) | 1102 if (web_view_->Client()) |
| 1101 web_view_->Client()->OnMouseDown(WebNode(mouse_down_node)); | 1103 web_view_->Client()->OnMouseDown(WebNode(mouse_down_node)); |
| 1102 } | 1104 } |
| 1103 | 1105 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 if (RuntimeEnabledFeatures::presentationEnabled()) | 1235 if (RuntimeEnabledFeatures::presentationEnabled()) |
| 1234 PresentationController::ProvideTo(frame, client->PresentationClient()); | 1236 PresentationController::ProvideTo(frame, client->PresentationClient()); |
| 1235 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1237 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
| 1236 ProvideAudioOutputDeviceClientTo(frame, | 1238 ProvideAudioOutputDeviceClientTo(frame, |
| 1237 new AudioOutputDeviceClientImpl(frame)); | 1239 new AudioOutputDeviceClientImpl(frame)); |
| 1238 } | 1240 } |
| 1239 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); | 1241 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); |
| 1240 } | 1242 } |
| 1241 | 1243 |
| 1242 } // namespace blink | 1244 } // namespace blink |
| OLD | NEW |