Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 304113002: Pass render frame ID to WebSocketBridge (Blink side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed #2 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698