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

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

Issue 1006793002: Add new method xhrSucceeded() to WebAutofillClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test Created 5 years, 9 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
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | public/web/WebAutofillClient.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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 webframe->autofillClient()->openTextDataListChooser(WebInputElement(&inp ut)); 872 webframe->autofillClient()->openTextDataListChooser(WebInputElement(&inp ut));
873 } 873 }
874 874
875 void ChromeClientImpl::textFieldDataListChanged(HTMLInputElement& input) 875 void ChromeClientImpl::textFieldDataListChanged(HTMLInputElement& input)
876 { 876 {
877 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document(). frame()); 877 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document(). frame());
878 if (webframe->autofillClient()) 878 if (webframe->autofillClient())
879 webframe->autofillClient()->dataListOptionsChanged(WebInputElement(&inpu t)); 879 webframe->autofillClient()->dataListOptionsChanged(WebInputElement(&inpu t));
880 } 880 }
881 881
882 void ChromeClientImpl::xhrSucceeded(LocalFrame* frame)
883 {
884 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame);
885 if (webframe->autofillClient())
886 webframe->autofillClient()->xhrSucceeded();
887 }
888
882 void ChromeClientImpl::registerViewportLayers() const 889 void ChromeClientImpl::registerViewportLayers() const
883 { 890 {
884 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView() && m_webVie w->pinchVirtualViewportEnabled()) 891 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView() && m_webVie w->pinchVirtualViewportEnabled())
885 m_webView->page()->frameHost().pinchViewport().registerLayersWithTreeVie w(m_webView->layerTreeView()); 892 m_webView->page()->frameHost().pinchViewport().registerLayersWithTreeVie w(m_webView->layerTreeView());
886 } 893 }
887 894
888 void ChromeClientImpl::didUpdateTopControls() const 895 void ChromeClientImpl::didUpdateTopControls() const
889 { 896 {
890 m_webView->didUpdateTopControls(); 897 m_webView->didUpdateTopControls();
891 } 898 }
892 899
893 } // namespace blink 900 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | public/web/WebAutofillClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698