| 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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input) | 867 void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input) |
| 868 { | 868 { |
| 869 // FIXME: remove. See http://crbug.com/425756 | 869 // FIXME: remove. See http://crbug.com/425756 |
| 870 if (m_webView->autofillClient()) | 870 if (m_webView->autofillClient()) |
| 871 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in
put)); | 871 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in
put)); |
| 872 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document().
frame()); | 872 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document().
frame()); |
| 873 if (webframe->autofillClient()) | 873 if (webframe->autofillClient()) |
| 874 webframe->autofillClient()->openTextDataListChooser(WebInputElement(&inp
ut)); | 874 webframe->autofillClient()->openTextDataListChooser(WebInputElement(&inp
ut)); |
| 875 } | 875 } |
| 876 | 876 |
| 877 void ChromeClientImpl::textFieldDataListChanged(HTMLInputElement& input) |
| 878 { |
| 879 // FIXME: remove. See http://crbug.com/425756 |
| 880 if (m_webView->autofillClient()) |
| 881 m_webView->autofillClient()->dataListOptionsChanged(WebInputElement(&inp
ut)); |
| 882 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document().
frame()); |
| 883 if (webframe->autofillClient()) |
| 884 webframe->autofillClient()->dataListOptionsChanged(WebInputElement(&inpu
t)); |
| 885 } |
| 886 |
| 877 } // namespace blink | 887 } // namespace blink |
| OLD | NEW |