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

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

Issue 1958543002: requestAutocomplete: remove from web platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Document-createEvent-expected.txt Created 4 years, 7 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
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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/WebFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698