| 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) | 947 void FrameLoaderClientImpl::dispatchWillOpenWebSocket(WebSocketHandle* handle) |
| 948 { | 948 { |
| 949 m_webFrame->client()->willOpenWebSocket(handle); | 949 m_webFrame->client()->willOpenWebSocket(handle); |
| 950 } | 950 } |
| 951 | 951 |
| 952 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) | 952 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe
erConnectionHandler* handler) |
| 953 { | 953 { |
| 954 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); | 954 m_webFrame->client()->willStartUsingPeerConnectionHandler(handler); |
| 955 } | 955 } |
| 956 | 956 |
| 957 void FrameLoaderClientImpl::didRequestAutocomplete(HTMLFormElement* form) | |
| 958 { | |
| 959 if (m_webFrame->autofillClient()) | |
| 960 m_webFrame->autofillClient()->didRequestAutocomplete(WebFormElement(form
)); | |
| 961 } | |
| 962 | |
| 963 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) | 957 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) |
| 964 { | 958 { |
| 965 if (m_webFrame->client()) | 959 if (m_webFrame->client()) |
| 966 return m_webFrame->client()->allowWebGL(enabledPerSettings); | 960 return m_webFrame->client()->allowWebGL(enabledPerSettings); |
| 967 | 961 |
| 968 return enabledPerSettings; | 962 return enabledPerSettings; |
| 969 } | 963 } |
| 970 | 964 |
| 971 void FrameLoaderClientImpl::dispatchWillInsertBody() | 965 void FrameLoaderClientImpl::dispatchWillInsertBody() |
| 972 { | 966 { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 return nullptr; | 1027 return nullptr; |
| 1034 return m_webFrame->client()->frameBlameContext(); | 1028 return m_webFrame->client()->frameBlameContext(); |
| 1035 } | 1029 } |
| 1036 | 1030 |
| 1037 LinkResource* FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkEle
ment* owner) | 1031 LinkResource* FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkEle
ment* owner) |
| 1038 { | 1032 { |
| 1039 return ServiceWorkerLinkResource::create(owner); | 1033 return ServiceWorkerLinkResource::create(owner); |
| 1040 } | 1034 } |
| 1041 | 1035 |
| 1042 } // namespace blink | 1036 } // namespace blink |
| OLD | NEW |