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

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

Issue 707723002: Refactor Autofill for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: more stuff Created 6 years, 1 month 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
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/WebLocalFrameImpl.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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 m_webFrame->client()->willOpenWebSocket(handle); 847 m_webFrame->client()->willOpenWebSocket(handle);
848 } 848 }
849 849
850 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe erConnectionHandler* handler) 850 void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(WebRTCPe erConnectionHandler* handler)
851 { 851 {
852 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle r); 852 m_webFrame->client()->willStartUsingPeerConnectionHandler(webFrame(), handle r);
853 } 853 }
854 854
855 void FrameLoaderClientImpl::didRequestAutocomplete(HTMLFormElement* form) 855 void FrameLoaderClientImpl::didRequestAutocomplete(HTMLFormElement* form)
856 { 856 {
857 if (m_webFrame->viewImpl() && m_webFrame->viewImpl()->autofillClient()) 857 if (m_webFrame->autofillClient())
858 m_webFrame->viewImpl()->autofillClient()->didRequestAutocomplete(WebForm Element(form)); 858 m_webFrame->autofillClient()->didRequestAutocomplete(WebFormElement(form ));
859 } 859 }
860 860
861 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings) 861 bool FrameLoaderClientImpl::allowWebGL(bool enabledPerSettings)
862 { 862 {
863 if (m_webFrame->client()) 863 if (m_webFrame->client())
864 return m_webFrame->client()->allowWebGL(m_webFrame, enabledPerSettings); 864 return m_webFrame->client()->allowWebGL(m_webFrame, enabledPerSettings);
865 865
866 return enabledPerSettings; 866 return enabledPerSettings;
867 } 867 }
868 868
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 926
927 unsigned FrameLoaderClientImpl::backForwardLength() 927 unsigned FrameLoaderClientImpl::backForwardLength()
928 { 928 {
929 WebViewImpl* webview = m_webFrame->viewImpl(); 929 WebViewImpl* webview = m_webFrame->viewImpl();
930 if (!webview || !webview->client()) 930 if (!webview || !webview->client())
931 return 0; 931 return 0;
932 return webview->client()->historyBackListCount() + 1 + webview->client()->hi storyForwardListCount(); 932 return webview->client()->historyBackListCount() + 1 + webview->client()->hi storyForwardListCount();
933 } 933 }
934 934
935 } // namespace blink 935 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698