OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 if (!m_webFrame->client()) | 737 if (!m_webFrame->client()) |
738 return; | 738 return; |
739 m_webFrame->client()->didChangeName(m_webFrame, name); | 739 m_webFrame->client()->didChangeName(m_webFrame, name); |
740 } | 740 } |
741 | 741 |
742 void FrameLoaderClientImpl::dispatchWillOpenSocketStream(SocketStreamHandle* han
dle) | 742 void FrameLoaderClientImpl::dispatchWillOpenSocketStream(SocketStreamHandle* han
dle) |
743 { | 743 { |
744 m_webFrame->client()->willOpenSocketStream(SocketStreamHandleInternal::toWeb
SocketStreamHandle(handle)); | 744 m_webFrame->client()->willOpenSocketStream(SocketStreamHandleInternal::toWeb
SocketStreamHandle(handle)); |
745 } | 745 } |
746 | 746 |
| 747 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(blink::WebSocketHandle* ha
ndle) |
| 748 { |
| 749 m_webFrame->client()->willOpenWebSocket(handle); |
| 750 } |
| 751 |
747 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(blink::W
ebRTCPeerConnectionHandler* handler) | 752 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(blink::W
ebRTCPeerConnectionHandler* handler) |
748 { | 753 { |
749 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle
r); | 754 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle
r); |
750 } | 755 } |
751 | 756 |
752 void FrameLoaderClientImpl::didRequestAutocomplete(HTMLFormElement* form, const
WebCore::Dictionary& details) | 757 void FrameLoaderClientImpl::didRequestAutocomplete(HTMLFormElement* form, const
WebCore::Dictionary& details) |
753 { | 758 { |
754 if (m_webFrame->viewImpl() && m_webFrame->viewImpl()->autofillClient()) | 759 if (m_webFrame->viewImpl() && m_webFrame->viewImpl()->autofillClient()) |
755 m_webFrame->viewImpl()->autofillClient()->didRequestAutocomplete(WebForm
Element(form), WebAutocompleteParams(details)); | 760 m_webFrame->viewImpl()->autofillClient()->didRequestAutocomplete(WebForm
Element(form), WebAutocompleteParams(details)); |
756 } | 761 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 m_webFrame->client()->didAbortLoading(m_webFrame); | 808 m_webFrame->client()->didAbortLoading(m_webFrame); |
804 } | 809 } |
805 | 810 |
806 void FrameLoaderClientImpl::dispatchDidChangeManifest() | 811 void FrameLoaderClientImpl::dispatchDidChangeManifest() |
807 { | 812 { |
808 if (m_webFrame->client()) | 813 if (m_webFrame->client()) |
809 m_webFrame->client()->didChangeManifest(m_webFrame); | 814 m_webFrame->client()->didChangeManifest(m_webFrame); |
810 } | 815 } |
811 | 816 |
812 } // namespace blink | 817 } // namespace blink |
OLD | NEW |