| 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 if (!result.scrollbar()) { | 633 if (!result.scrollbar()) { |
| 634 // Find out if the mouse is over a link, and if so, let our UI know... | 634 // Find out if the mouse is over a link, and if so, let our UI know... |
| 635 if (result.isLiveLink() && | 635 if (result.isLiveLink() && |
| 636 !result.absoluteLinkURL().getString().isEmpty()) { | 636 !result.absoluteLinkURL().getString().isEmpty()) { |
| 637 url = result.absoluteLinkURL(); | 637 url = result.absoluteLinkURL(); |
| 638 } else if (result.innerNode() && | 638 } else if (result.innerNode() && |
| 639 (isHTMLObjectElement(*result.innerNode()) || | 639 (isHTMLObjectElement(*result.innerNode()) || |
| 640 isHTMLEmbedElement(*result.innerNode()))) { | 640 isHTMLEmbedElement(*result.innerNode()))) { |
| 641 LayoutObject* object = result.innerNode()->layoutObject(); | 641 LayoutObject* object = result.innerNode()->layoutObject(); |
| 642 if (object && object->isLayoutPart()) { | 642 if (object && object->isLayoutPart()) { |
| 643 FrameViewBase* frameViewBase = toLayoutPart(object)->widget(); | 643 FrameViewBase* frameViewBase = toLayoutPart(object)->frameViewBase(); |
| 644 if (frameViewBase && frameViewBase->isPluginContainer()) { | 644 if (frameViewBase && frameViewBase->isPluginContainer()) { |
| 645 WebPluginContainerImpl* plugin = | 645 WebPluginContainerImpl* plugin = |
| 646 toWebPluginContainerImpl(frameViewBase); | 646 toWebPluginContainerImpl(frameViewBase); |
| 647 url = plugin->plugin()->linkAtPosition( | 647 url = plugin->plugin()->linkAtPosition( |
| 648 result.roundedPointInInnerNodeFrame()); | 648 result.roundedPointInInnerNodeFrame()); |
| 649 } | 649 } |
| 650 } | 650 } |
| 651 } | 651 } |
| 652 } | 652 } |
| 653 | 653 |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1221 PresentationController::provideTo(frame, client->presentationClient()); | 1221 PresentationController::provideTo(frame, client->presentationClient()); |
| 1222 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1222 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
| 1223 provideAudioOutputDeviceClientTo(frame, | 1223 provideAudioOutputDeviceClientTo(frame, |
| 1224 new AudioOutputDeviceClientImpl(frame)); | 1224 new AudioOutputDeviceClientImpl(frame)); |
| 1225 } | 1225 } |
| 1226 if (RuntimeEnabledFeatures::installedAppEnabled()) | 1226 if (RuntimeEnabledFeatures::installedAppEnabled()) |
| 1227 InstalledAppController::provideTo(frame, client->relatedAppsFetcher()); | 1227 InstalledAppController::provideTo(frame, client->relatedAppsFetcher()); |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 } // namespace blink | 1230 } // namespace blink |
| OLD | NEW |