| 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 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 if (m_webView->autofillClient()) | 1008 if (m_webView->autofillClient()) |
| 1009 m_webView->autofillClient()->textFieldDidEndEditing(WebInputElement(&inp
utElement)); | 1009 m_webView->autofillClient()->textFieldDidEndEditing(WebInputElement(&inp
utElement)); |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input) | 1012 void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input) |
| 1013 { | 1013 { |
| 1014 if (m_webView->autofillClient()) | 1014 if (m_webView->autofillClient()) |
| 1015 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in
put)); | 1015 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in
put)); |
| 1016 } | 1016 } |
| 1017 | 1017 |
| 1018 #if ENABLE(NAVIGATOR_CONTENT_UTILS) | |
| 1019 PassOwnPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::cre
ate(WebViewImpl* webView) | 1018 PassOwnPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::cre
ate(WebViewImpl* webView) |
| 1020 { | 1019 { |
| 1021 return adoptPtr(new NavigatorContentUtilsClientImpl(webView)); | 1020 return adoptPtr(new NavigatorContentUtilsClientImpl(webView)); |
| 1022 } | 1021 } |
| 1023 | 1022 |
| 1024 NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebViewImpl* we
bView) | 1023 NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebViewImpl* we
bView) |
| 1025 : m_webView(webView) | 1024 : m_webView(webView) |
| 1026 { | 1025 { |
| 1027 } | 1026 } |
| 1028 | 1027 |
| 1029 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) | 1028 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) |
| 1030 { | 1029 { |
| 1031 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); | 1030 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); |
| 1032 } | 1031 } |
| 1033 #endif | |
| 1034 | 1032 |
| 1035 } // namespace blink | 1033 } // namespace blink |
| OLD | NEW |