OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1849 // during init(). Note that this may dispatch JS events; the frame may be | 1849 // during init(). Note that this may dispatch JS events; the frame may be |
1850 // detached after init() returns. | 1850 // detached after init() returns. |
1851 m_frame->init(); | 1851 m_frame->init(); |
1852 } | 1852 } |
1853 | 1853 |
1854 void WebLocalFrameImpl::setAutofillClient(WebAutofillClient* autofillClient) | 1854 void WebLocalFrameImpl::setAutofillClient(WebAutofillClient* autofillClient) |
1855 { | 1855 { |
1856 m_autofillClient = autofillClient; | 1856 m_autofillClient = autofillClient; |
1857 } | 1857 } |
1858 | 1858 |
| 1859 WebAutofillClient* WebLocalFrameImpl::autofillClient() |
| 1860 { |
| 1861 return m_autofillClient; |
| 1862 } |
| 1863 |
1859 void WebLocalFrameImpl::sendPings(const WebNode& linkNode, const WebURL& destina
tionURL) | 1864 void WebLocalFrameImpl::sendPings(const WebNode& linkNode, const WebURL& destina
tionURL) |
1860 { | 1865 { |
1861 ASSERT(frame()); | 1866 ASSERT(frame()); |
1862 const Node* node = linkNode.constUnwrap<Node>(); | 1867 const Node* node = linkNode.constUnwrap<Node>(); |
1863 if (isHTMLAnchorElement(node)) | 1868 if (isHTMLAnchorElement(node)) |
1864 toHTMLAnchorElement(node)->sendPings(destinationURL); | 1869 toHTMLAnchorElement(node)->sendPings(destinationURL); |
1865 } | 1870 } |
1866 | 1871 |
1867 bool WebLocalFrameImpl::isLoading() const | 1872 bool WebLocalFrameImpl::isLoading() const |
1868 { | 1873 { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1970 | 1975 |
1971 void WebLocalFrameImpl::invalidateAll() const | 1976 void WebLocalFrameImpl::invalidateAll() const |
1972 { | 1977 { |
1973 ASSERT(frame() && frame()->view()); | 1978 ASSERT(frame() && frame()->view()); |
1974 FrameView* view = frame()->view(); | 1979 FrameView* view = frame()->view(); |
1975 view->invalidateRect(view->frameRect()); | 1980 view->invalidateRect(view->frameRect()); |
1976 invalidateScrollbar(); | 1981 invalidateScrollbar(); |
1977 } | 1982 } |
1978 | 1983 |
1979 } // namespace blink | 1984 } // namespace blink |
OLD | NEW |