| 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 LocalFrame* localRoot = frame->localFrameRoot(); | 932 LocalFrame* localRoot = frame->localFrameRoot(); |
| 933 return WebLocalFrameImpl::fromFrame(localRoot)->frameWidget()->client()->req
uestPointerUnlock(); | 933 return WebLocalFrameImpl::fromFrame(localRoot)->frameWidget()->client()->req
uestPointerUnlock(); |
| 934 } | 934 } |
| 935 | 935 |
| 936 void ChromeClientImpl::annotatedRegionsChanged() | 936 void ChromeClientImpl::annotatedRegionsChanged() |
| 937 { | 937 { |
| 938 if (WebViewClient* client = m_webView->client()) | 938 if (WebViewClient* client = m_webView->client()) |
| 939 client->draggableRegionsChanged(); | 939 client->draggableRegionsChanged(); |
| 940 } | 940 } |
| 941 | 941 |
| 942 void ChromeClientImpl::didAssociateFormControls(const HeapVector<Member<Element>
>& elements, LocalFrame* frame) | 942 void ChromeClientImpl::didAssociateFormControlsAfterLoad(LocalFrame* frame) |
| 943 { | 943 { |
| 944 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); | 944 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(frame); |
| 945 if (webframe->autofillClient()) | 945 if (webframe->autofillClient()) |
| 946 webframe->autofillClient()->didAssociateFormControls(elements); | 946 webframe->autofillClient()->didAssociateFormControlsDynamically(); |
| 947 } | 947 } |
| 948 | 948 |
| 949 void ChromeClientImpl::didCancelCompositionOnSelectionChange() | 949 void ChromeClientImpl::didCancelCompositionOnSelectionChange() |
| 950 { | 950 { |
| 951 if (m_webView->client()) | 951 if (m_webView->client()) |
| 952 m_webView->client()->didCancelCompositionOnSelectionChange(); | 952 m_webView->client()->didCancelCompositionOnSelectionChange(); |
| 953 } | 953 } |
| 954 | 954 |
| 955 void ChromeClientImpl::willSetInputMethodState() | 955 void ChromeClientImpl::willSetInputMethodState() |
| 956 { | 956 { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 { | 1079 { |
| 1080 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext)
.release()); | 1080 return wrapUnique(m_webView->scheduler()->createFrameScheduler(blameContext)
.release()); |
| 1081 } | 1081 } |
| 1082 | 1082 |
| 1083 double ChromeClientImpl::lastFrameTimeMonotonic() const | 1083 double ChromeClientImpl::lastFrameTimeMonotonic() const |
| 1084 { | 1084 { |
| 1085 return m_webView->lastFrameTimeMonotonic(); | 1085 return m_webView->lastFrameTimeMonotonic(); |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 } // namespace blink | 1088 } // namespace blink |
| OLD | NEW |