| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |